Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 213.3 kB / 22.24 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.961/2.961, allocations: 0.49 GB / 0.7951 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.84 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3072, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2391/0.5463, allocations: 214.7 MB / 1.536 GB, free: 10 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.5609, allocations: 8.064 MB / 1.543 GB, free: 1.922 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.5629, allocations: 91.19 kB / 1.544 GB, free: 1.832 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.5657, allocations: 1.045 MB / 1.545 GB, free: 0.7812 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008213/0.5739, allocations: 3.225 MB / 1.548 GB, free: 13.54 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008891/0.5828, allocations: 3.516 MB / 1.551 GB, free: 10.02 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.006318/0.5891, allocations: 4.054 MB / 1.555 GB, free: 5.953 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.5914, allocations: 1.141 MB / 1.556 GB, free: 4.777 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.5968, allocations: 2.351 MB / 1.558 GB, free: 2.418 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.5995, allocations: 1.483 MB / 1.56 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.5998, allocations: 136 kB / 1.56 GB, free: 0.7969 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006592/0.6064, allocations: 3.218 MB / 1.563 GB, free: 13.57 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008071/0.6072, allocations: 0.6307 MB / 1.564 GB, free: 12.94 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.6085, allocations: 0.8319 MB / 1.565 GB, free: 12.1 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006554/0.615, allocations: 3.784 MB / 1.568 GB, free: 8.305 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.615, allocations: 0 / 1.568 GB, free: 8.305 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.212e-06/0.615, allocations: 8 kB / 1.568 GB, free: 8.297 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.615, allocations: 0 / 1.568 GB, free: 8.297 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006342/0.6214, allocations: 2.674 MB / 1.571 GB, free: 5.57 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6214, allocations: 8.031 kB / 1.571 GB, free: 5.562 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.6217, allocations: 202.5 kB / 1.571 GB, free: 5.355 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008557/0.6302, allocations: 1.329 MB / 1.572 GB, free: 4.023 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.6328, allocations: 1.174 MB / 1.574 GB, free: 2.809 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/0.6329, allocations: 98.59 kB / 1.574 GB, free: 2.711 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.6332, allocations: 128 kB / 1.574 GB, free: 2.586 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/0.6376, allocations: 2.09 MB / 1.576 GB, free: 404 kB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.6377, allocations: 4 kB / 1.576 GB, free: 400 kB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.6378, allocations: 52 kB / 1.576 GB, free: 348 kB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/0.6379, allocations: 62.47 kB / 1.576 GB, free: 284 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005666/0.6436, allocations: 2.195 MB / 1.578 GB, free: 14.07 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.6545, allocations: 6.474 MB / 1.584 GB, free: 7.418 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.6593, allocations: 1.816 MB / 1.586 GB, free: 5.59 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.6617, allocations: 0.9334 MB / 1.587 GB, free: 4.652 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009975/0.6627, allocations: 204.8 kB / 1.587 GB, free: 4.453 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002688/0.6654, allocations: 1.079 MB / 1.588 GB, free: 3.359 MB / 1.279 GB Notification: Performance of pre-optimization done (n=119): time 4.298e-06/0.6654, allocations: 4 kB / 1.588 GB, free: 3.355 MB / 1.279 GB Notification: Performance of matching and sorting (n=119): time 0.008325/0.6737, allocations: 2.904 MB / 1.591 GB, free: 456 kB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.6738, allocations: 64.41 kB / 1.591 GB, free: 380 kB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.6761, allocations: 1.687 MB / 1.593 GB, free: 14.68 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.6762, allocations: 49.7 kB / 1.593 GB, free: 14.63 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006979/0.6769, allocations: 0.8133 MB / 1.594 GB, free: 13.81 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.6774, allocations: 432.3 kB / 1.594 GB, free: 13.38 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004493/0.6778, allocations: 242.8 kB / 1.594 GB, free: 13.14 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.678, allocations: 361.9 kB / 1.595 GB, free: 12.78 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.6803, allocations: 0.8299 MB / 1.596 GB, free: 11.95 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.683, allocations: 1.372 MB / 1.597 GB, free: 10.41 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/0.6878, allocations: 1.934 MB / 1.599 GB, free: 8.363 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.6878, allocations: 4 kB / 1.599 GB, free: 8.359 MB / 1.295 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005773/0.6936, allocations: 2.206 MB / 1.601 GB, free: 6.145 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.6936, allocations: 15.94 kB / 1.601 GB, free: 6.129 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6936, allocations: 8 kB / 1.601 GB, free: 6.121 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.6937, allocations: 16.69 kB / 1.601 GB, free: 6.105 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.6958, allocations: 415.3 kB / 1.601 GB, free: 5.699 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.6958, allocations: 16 kB / 1.601 GB, free: 5.684 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.6978, allocations: 282.6 kB / 1.602 GB, free: 5.406 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.698, allocations: 63.97 kB / 1.602 GB, free: 5.344 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0006955/0.6987, allocations: 399.4 kB / 1.602 GB, free: 4.945 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.699, allocations: 206.6 kB / 1.602 GB, free: 4.742 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/0.7047, allocations: 2.222 MB / 1.604 GB, free: 2.508 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.7047, allocations: 12 kB / 1.604 GB, free: 2.496 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.7047, allocations: 0 / 1.604 GB, free: 2.496 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.7047, allocations: 3.984 kB / 1.604 GB, free: 2.492 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6324/1.337, allocations: 4.31 MB / 1.609 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.337, allocations: 5.812 kB / 1.609 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.339, allocations: 343.8 kB / 1.609 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.959e-05/1.339, allocations: 14.81 kB / 1.609 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.339, allocations: 40.94 kB / 1.609 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.685e-05/1.339, allocations: 16.34 kB / 1.609 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.339, allocations: 12.19 kB / 1.609 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007807/1.347, allocations: 3.514 MB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00096/1.348, allocations: 348.4 kB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/1.348, allocations: 36.08 kB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.35, allocations: 170.5 kB / 1.613 GB, free: 278.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.35, allocations: 103.5 kB / 1.613 GB, free: 278.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.35, allocations: 52.45 kB / 1.613 GB, free: 278.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001473/1.352, allocations: 1.158 MB / 1.614 GB, free: 278.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 7.1e-08/1.352, allocations: 3.938 kB / 1.614 GB, free: 278.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001311/1.353, allocations: 495.2 kB / 1.615 GB, free: 278.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * 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.01037/1.363, allocations: 4.562 MB / 1.619 GB, free: 276.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005383/1.369, allocations: 1.913 MB / 1.621 GB, free: 275.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.369, allocations: 5.25 kB / 1.621 GB, free: 275.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/1.371, allocations: 0.979 MB / 1.622 GB, free: 275.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.375, allocations: 0.9643 MB / 1.623 GB, free: 275.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/1.407, allocations: 16.15 MB / 1.639 GB, free: 268.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/1.408, allocations: 0.8122 MB / 1.64 GB, free: 268.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001822/1.41, allocations: 478.9 kB / 1.64 GB, free: 267.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008711/1.41, allocations: 0.7332 MB / 1.641 GB, free: 267.4 MB / 1.295 GB Notification: Performance of SimCode: time 7.51e-07/1.41, allocations: 0 / 1.641 GB, free: 267.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07952/1.49, allocations: 56.32 MB / 1.696 GB, free: 214.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.83, allocations: 8.062 kB / 1.696 GB, free: 214.2 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.196931193000637]