Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.008002/0.008002, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.002117/0.002117, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.89 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 162.2 MB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5897/0.884, allocations: 54.55 MB / 1.295 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01623/0.9003, allocations: 10.34 MB / 1.305 GB, free: 5.391 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.9025, allocations: 67.69 kB / 1.305 GB, free: 5.363 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.9048, allocations: 0.8992 MB / 1.306 GB, free: 4.887 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005486/0.9103, allocations: 1.908 MB / 1.308 GB, free: 3.797 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.916, allocations: 2.089 MB / 1.31 GB, free: 2.727 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005818/0.9218, allocations: 3.737 MB / 1.313 GB, free: 1.012 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.9241, allocations: 1.167 MB / 1.315 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/0.9285, allocations: 1.87 MB / 1.316 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.9306, allocations: 1.199 MB / 1.318 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.9309, allocations: 104.6 kB / 1.318 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.9342, allocations: 1.283 MB / 1.319 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.9347, allocations: 390.3 kB / 1.319 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.9359, allocations: 0.8443 MB / 1.32 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.9409, allocations: 2.468 MB / 1.322 GB, free: 12.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9409, allocations: 0 / 1.322 GB, free: 12.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9409, allocations: 0 / 1.322 GB, free: 12.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.604e-05/0.9409, allocations: 3.938 kB / 1.322 GB, free: 12.92 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004009/0.9449, allocations: 2.184 MB / 1.325 GB, free: 11.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.945, allocations: 9.094 kB / 1.325 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.9452, allocations: 162.5 kB / 1.325 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/0.949, allocations: 0.659 MB / 1.325 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.9512, allocations: 1.202 MB / 1.327 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.9513, allocations: 84.5 kB / 1.327 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.9515, allocations: 110.8 kB / 1.327 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.9548, allocations: 1.49 MB / 1.328 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.9548, allocations: 6.828 kB / 1.328 GB, free: 9.668 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.955, allocations: 48.64 kB / 1.328 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.955, allocations: 29 kB / 1.328 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.9588, allocations: 1.23 MB / 1.33 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009946/0.9688, allocations: 8.384 MB / 1.338 GB, free: 2.344 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.9723, allocations: 1.098 MB / 1.339 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.9741, allocations: 0.5616 MB / 1.339 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002613/0.9767, allocations: 2.89 MB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/0.9787, allocations: 0.6755 MB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 2.945e-06/0.9788, allocations: 0 / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.005857/0.9846, allocations: 1.8 MB / 1.345 GB, free: 13.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.9847, allocations: 60.66 kB / 1.345 GB, free: 13.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.9867, allocations: 1.493 MB / 1.346 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.69e-05/0.9868, allocations: 46.7 kB / 1.346 GB, free: 13.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.9876, allocations: 0.7943 MB / 1.347 GB, free: 12.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.9879, allocations: 312.8 kB / 1.347 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/0.9882, allocations: 222.9 kB / 1.347 GB, free: 11.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9884, allocations: 352.7 kB / 1.348 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.9902, allocations: 0.5147 MB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.9923, allocations: 0.9074 MB / 1.349 GB, free: 10.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.9961, allocations: 1.411 MB / 1.351 GB, free: 9.684 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.9962, allocations: 3.719 kB / 1.351 GB, free: 9.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004532/1.001, allocations: 1.605 MB / 1.352 GB, free: 8.902 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.001, allocations: 14.81 kB / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.001, allocations: 11.28 kB / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.001, allocations: 17.84 kB / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/1.002, allocations: 351.1 kB / 1.352 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/1.002, allocations: 24.61 kB / 1.352 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.004, allocations: 231.1 kB / 1.353 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.004, allocations: 64.28 kB / 1.353 GB, free: 8.633 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0006346/1.005, allocations: 344 kB / 1.353 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.005, allocations: 184.2 kB / 1.353 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/1.01, allocations: 2.081 MB / 1.355 GB, free: 7.188 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/1.01, allocations: 23.38 kB / 1.355 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.01, allocations: 1.375 kB / 1.355 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/1.01, allocations: 7.922 kB / 1.355 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/1.017, allocations: 3.282 MB / 1.359 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.017, allocations: 5.281 kB / 1.359 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.019, allocations: 239.7 kB / 1.359 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/1.019, allocations: 5.438 kB / 1.359 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-05/1.019, allocations: 37.47 kB / 1.359 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/1.019, allocations: 16.45 kB / 1.359 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.019, allocations: 3.75 kB / 1.359 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006821/1.026, allocations: 2.694 MB / 1.361 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/1.026, allocations: 395.9 kB / 1.362 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/1.027, allocations: 27.02 kB / 1.362 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.028, allocations: 113.6 kB / 1.362 GB, free: 3.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.028, allocations: 78.09 kB / 1.362 GB, free: 3.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.028, allocations: 54.42 kB / 1.362 GB, free: 3.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001514/1.03, allocations: 1.002 MB / 1.363 GB, free: 2.566 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.11e-07/1.03, allocations: 1.312 kB / 1.363 GB, free: 2.566 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0017/1.031, allocations: 0.5456 MB / 1.364 GB, free: 2.422 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (110): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.009564/1.041, allocations: 3.993 MB / 1.368 GB, free: 128 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004257/1.045, allocations: 1.459 MB / 1.369 GB, free: 15.47 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.045, allocations: 3.938 kB / 1.369 GB, free: 15.47 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.047, allocations: 0.7982 MB / 1.37 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/1.051, allocations: 0.735 MB / 1.37 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/1.076, allocations: 12.58 MB / 1.383 GB, free: 5.109 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.078, allocations: 1.309 MB / 1.384 GB, free: 3.773 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00145/1.079, allocations: 372.8 kB / 1.384 GB, free: 3.402 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.08, allocations: 0.7139 MB / 1.385 GB, free: 2.691 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/1.08, allocations: 0 / 1.385 GB, free: 2.691 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08916/1.169, allocations: 47.45 MB / 1.431 GB, free: 3.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.41, allocations: 17.84 kB / 1.431 GB, free: 3.824 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches