Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007169/0.007169, allocations: 99.83 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 192.1 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3013, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.9317/1.233, allocations: 193.8 MB / 1.355 GB, free: 236 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01015/1.243, allocations: 5.147 MB / 1.36 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/1.246, allocations: 47.78 kB / 1.361 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/1.248, allocations: 0.8239 MB / 1.361 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008295/1.257, allocations: 2.694 MB / 1.364 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/1.261, allocations: 1.121 MB / 1.365 GB, free: 10.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004839/1.265, allocations: 2.599 MB / 1.368 GB, free: 9.102 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/1.267, allocations: 0.8866 MB / 1.368 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/1.271, allocations: 1.117 MB / 1.37 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/1.273, allocations: 0.963 MB / 1.371 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005078/1.274, allocations: 83.97 kB / 1.371 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005002/1.279, allocations: 1.792 MB / 1.372 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008808/1.28, allocations: 442.3 kB / 1.373 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/1.281, allocations: 0.6508 MB / 1.373 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006176/1.287, allocations: 2.185 MB / 1.376 GB, free: 4.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.288, allocations: 0 / 1.376 GB, free: 4.309 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.023e-06/1.288, allocations: 0 / 1.376 GB, free: 4.309 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.66e-05/1.288, allocations: 1.375 kB / 1.376 GB, free: 4.309 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006321/1.294, allocations: 1.974 MB / 1.377 GB, free: 2.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.294, allocations: 7.344 kB / 1.377 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000277/1.294, allocations: 137.8 kB / 1.378 GB, free: 2.711 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/1.299, allocations: 0.7132 MB / 1.378 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/1.301, allocations: 0.9693 MB / 1.379 GB, free: 1.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/1.301, allocations: 62.72 kB / 1.379 GB, free: 1.598 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/1.302, allocations: 93.56 kB / 1.379 GB, free: 1.562 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/1.305, allocations: 1.462 MB / 1.381 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.305, allocations: 0 / 1.381 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.305, allocations: 37.73 kB / 1.381 GB, free: 0.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/1.305, allocations: 46.77 kB / 1.381 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/1.309, allocations: 1.566 MB / 1.382 GB, free: 15.85 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007981/1.317, allocations: 5.022 MB / 1.387 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/1.321, allocations: 1.192 MB / 1.388 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/1.322, allocations: 0.6687 MB / 1.389 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/1.324, allocations: 0.9412 MB / 1.39 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/1.326, allocations: 0.7236 MB / 1.391 GB, free: 9.344 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/1.326, allocations: 0 / 1.391 GB, free: 9.344 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.005861/1.332, allocations: 1.96 MB / 1.393 GB, free: 8.402 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.332, allocations: 59.66 kB / 1.393 GB, free: 8.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/1.333, allocations: 1.273 MB / 1.394 GB, free: 7.695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/1.334, allocations: 42.11 kB / 1.394 GB, free: 7.652 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/1.334, allocations: 0.5797 MB / 1.395 GB, free: 7.141 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/1.334, allocations: 290.9 kB / 1.395 GB, free: 6.891 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/1.335, allocations: 181.1 kB / 1.395 GB, free: 6.785 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.335, allocations: 347.2 kB / 1.395 GB, free: 6.449 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/1.337, allocations: 0.5523 MB / 1.396 GB, free: 6.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/1.338, allocations: 0.8188 MB / 1.397 GB, free: 5.594 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/1.342, allocations: 1.348 MB / 1.398 GB, free: 4.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/1.342, allocations: 2.812 kB / 1.398 GB, free: 4.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004173/1.346, allocations: 1.517 MB / 1.4 GB, free: 3.988 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/1.346, allocations: 11.83 kB / 1.4 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.346, allocations: 7.656 kB / 1.4 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/1.346, allocations: 12.94 kB / 1.4 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.347, allocations: 295.3 kB / 1.4 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.033e-05/1.347, allocations: 14.03 kB / 1.4 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.349, allocations: 201.8 kB / 1.4 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/1.349, allocations: 55.25 kB / 1.4 GB, free: 3.754 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007154/1.35, allocations: 345.1 kB / 1.4 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/1.35, allocations: 141.9 kB / 1.401 GB, free: 3.434 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/1.354, allocations: 1.451 MB / 1.402 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.354, allocations: 8 kB / 1.402 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.354, allocations: 4 kB / 1.402 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.354, allocations: 3.984 kB / 1.402 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/1.361, allocations: 2.862 MB / 1.405 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.361, allocations: 4 kB / 1.405 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.362, allocations: 224.2 kB / 1.405 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/1.362, allocations: 8 kB / 1.405 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.362, allocations: 36.97 kB / 1.405 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/1.362, allocations: 15.92 kB / 1.405 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.362, allocations: 7.984 kB / 1.405 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/1.368, allocations: 2.311 MB / 1.407 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/1.369, allocations: 311.9 kB / 1.408 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/1.369, allocations: 23.98 kB / 1.408 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.37, allocations: 111.9 kB / 1.408 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.37, allocations: 64.36 kB / 1.408 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.219e-05/1.371, allocations: 36.84 kB / 1.408 GB, free: 12.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001284/1.372, allocations: 0.8723 MB / 1.409 GB, free: 11.35 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.372, allocations: 4 kB / 1.409 GB, free: 11.35 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001339/1.373, allocations: 319.7 kB / 1.409 GB, free: 11.04 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00718/1.38, allocations: 3.293 MB / 1.412 GB, free: 7.836 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004078/1.384, allocations: 1.312 MB / 1.413 GB, free: 6.523 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.385, allocations: 4 kB / 1.414 GB, free: 6.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.386, allocations: 0.6598 MB / 1.414 GB, free: 5.863 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/1.39, allocations: 0.6311 MB / 1.415 GB, free: 5.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.413, allocations: 11.14 MB / 1.426 GB, free: 9.699 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/1.414, allocations: 1.175 MB / 1.427 GB, free: 8.492 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001412/1.416, allocations: 346.2 kB / 1.427 GB, free: 8.152 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/1.417, allocations: 0.4914 MB / 1.428 GB, free: 7.66 MB / 1.092 GB Notification: Performance of SimCode: time 9.12e-07/1.417, allocations: 0 / 1.428 GB, free: 7.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0663/1.483, allocations: 35.02 MB / 1.462 GB, free: 5.047 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.83, allocations: 7.734 kB / 1.462 GB, free: 5.039 MB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches