Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_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.001716/0.001715, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 67.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6965, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2117/0.9082, allocations: 193.8 MB / 1.139 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.9188, allocations: 5.146 MB / 1.144 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.9207, allocations: 47.69 kB / 1.144 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.923, allocations: 0.8081 MB / 1.145 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006457/0.9295, allocations: 2.606 MB / 1.147 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.9327, allocations: 1.103 MB / 1.148 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.9366, allocations: 2.598 MB / 1.151 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.9385, allocations: 0.8844 MB / 1.152 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.9412, allocations: 1.066 MB / 1.153 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.9431, allocations: 0.9689 MB / 1.154 GB, free: 72 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.9436, allocations: 84.05 kB / 1.154 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.9478, allocations: 1.777 MB / 1.156 GB, free: 14.21 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006858/0.9485, allocations: 442.6 kB / 1.156 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.9497, allocations: 0.6526 MB / 1.157 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.9545, allocations: 2.134 MB / 1.159 GB, free: 10.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9545, allocations: 0 / 1.159 GB, free: 10.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.877e-06/0.9545, allocations: 0 / 1.159 GB, free: 10.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.147e-05/0.9546, allocations: 3.938 kB / 1.159 GB, free: 10.97 MB / 0.92 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.00523/0.9598, allocations: 1.926 MB / 1.161 GB, free: 8.988 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.9599, allocations: 8.031 kB / 1.161 GB, free: 8.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/0.9601, allocations: 143.5 kB / 1.161 GB, free: 8.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/0.9645, allocations: 0.7122 MB / 1.162 GB, free: 8.117 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.9661, allocations: 0.8786 MB / 1.162 GB, free: 7.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.9661, allocations: 69.98 kB / 1.162 GB, free: 7.113 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.9663, allocations: 95.92 kB / 1.163 GB, free: 7.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.9694, allocations: 1.465 MB / 1.164 GB, free: 5.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.9695, allocations: 7.875 kB / 1.164 GB, free: 5.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.9696, allocations: 35.98 kB / 1.164 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.9697, allocations: 49.98 kB / 1.164 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.9739, allocations: 1.549 MB / 1.166 GB, free: 3.852 MB / 0.92 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.007539/0.9815, allocations: 5.03 MB / 1.171 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.9851, allocations: 1.192 MB / 1.172 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.9869, allocations: 0.6626 MB / 1.172 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.9882, allocations: 0.9449 MB / 1.173 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001908/0.9902, allocations: 0.7186 MB / 1.174 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 3.416e-06/0.9902, allocations: 0 / 1.174 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.006114/0.9963, allocations: 1.952 MB / 1.176 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.9964, allocations: 68 kB / 1.176 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.9981, allocations: 1.26 MB / 1.177 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.9983, allocations: 53.62 kB / 1.177 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005437/0.9988, allocations: 0.5716 MB / 1.178 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/0.9992, allocations: 276 kB / 1.178 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/0.9995, allocations: 186.5 kB / 1.178 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9997, allocations: 349.8 kB / 1.179 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/1.002, allocations: 0.5445 MB / 1.179 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/1.003, allocations: 0.8286 MB / 1.18 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/1.007, allocations: 1.332 MB / 1.181 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.007, allocations: 4 kB / 1.181 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004301/1.011, allocations: 1.523 MB / 1.183 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/1.011, allocations: 8 kB / 1.183 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.011, allocations: 8 kB / 1.183 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.011, allocations: 12 kB / 1.183 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/1.013, allocations: 287.7 kB / 1.183 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-05/1.013, allocations: 23.92 kB / 1.183 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.015, allocations: 194.6 kB / 1.183 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.015, allocations: 51.97 kB / 1.183 GB, free: 1.066 MB / 0.9356 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.0007169/1.016, allocations: 347.6 kB / 1.184 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/1.016, allocations: 138.3 kB / 1.184 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/1.02, allocations: 1.448 MB / 1.185 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.02, allocations: 8 kB / 1.185 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.02, allocations: 4 kB / 1.185 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.02, allocations: 11.91 kB / 1.185 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/1.027, allocations: 2.857 MB / 1.188 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.027, allocations: 7.938 kB / 1.188 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.029, allocations: 232.1 kB / 1.188 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/1.029, allocations: 8 kB / 1.188 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/1.029, allocations: 31.97 kB / 1.188 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/1.029, allocations: 8 kB / 1.188 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.029, allocations: 7.938 kB / 1.188 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/1.035, allocations: 2.303 MB / 1.19 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/1.036, allocations: 311.1 kB / 1.191 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/1.036, allocations: 23.98 kB / 1.191 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.037, allocations: 103.9 kB / 1.191 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.037, allocations: 72.36 kB / 1.191 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/1.037, allocations: 35.97 kB / 1.191 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001131/1.038, allocations: 0.8684 MB / 1.192 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.038, allocations: 0 / 1.192 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001164/1.04, allocations: 315.7 kB / 1.192 GB, free: 7.746 MB / 0.9512 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.008209/1.048, allocations: 3.281 MB / 1.195 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006525/1.054, allocations: 1.433 MB / 1.197 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.054, allocations: 3.938 kB / 1.197 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/1.057, allocations: 0.6599 MB / 1.197 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/1.062, allocations: 0.6263 MB / 1.198 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/1.094, allocations: 11.97 MB / 1.21 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.096, allocations: 1.173 MB / 1.211 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002598/1.098, allocations: 342.2 kB / 1.211 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.099, allocations: 499.2 kB / 1.212 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of SimCode: time 1.563e-06/1.099, allocations: 0 / 1.212 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06946/1.169, allocations: 34.63 MB / 1.245 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/9.568, allocations: 8 kB / 1.245 GB, free: 0.9844 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches