Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001573/0.001573, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001771/0.001771, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.16/3.16, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",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.001892/0.001892, allocations: 62.98 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3169, allocations: 179 MB / 1.345 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2714/0.5883, allocations: 214.5 MB / 1.555 GB, free: 8.594 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.6036, allocations: 8.039 MB / 1.563 GB, free: 0.5391 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.6059, allocations: 95.19 kB / 1.563 GB, free: 456 kB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00327/0.6092, allocations: 1.045 MB / 1.564 GB, free: 15.39 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009613/0.6188, allocations: 3.224 MB / 1.567 GB, free: 12.16 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009394/0.6282, allocations: 3.502 MB / 1.57 GB, free: 8.648 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007324/0.6355, allocations: 3.983 MB / 1.574 GB, free: 4.652 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/0.6385, allocations: 1.112 MB / 1.575 GB, free: 3.508 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006288/0.6448, allocations: 2.324 MB / 1.578 GB, free: 1.176 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.6482, allocations: 1.436 MB / 1.579 GB, free: 15.73 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0006678/0.6489, allocations: 128 kB / 1.579 GB, free: 15.61 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007851/0.6567, allocations: 3.214 MB / 1.582 GB, free: 12.39 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.658, allocations: 0.6112 MB / 1.583 GB, free: 11.77 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.66, allocations: 0.8124 MB / 1.584 GB, free: 10.96 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.009027/0.669, allocations: 3.733 MB / 1.587 GB, free: 7.211 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.669, allocations: 0 / 1.587 GB, free: 7.211 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.603e-06/0.669, allocations: 0 / 1.587 GB, free: 7.211 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001023/0.6691, allocations: 4 kB / 1.587 GB, free: 7.207 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007112/0.6762, allocations: 2.639 MB / 1.59 GB, free: 4.516 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6763, allocations: 8.031 kB / 1.59 GB, free: 4.508 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.641e-05/0.6763, allocations: 42.5 kB / 1.59 GB, free: 4.465 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002501/0.6766, allocations: 190.4 kB / 1.59 GB, free: 4.27 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007067/0.6836, allocations: 1.099 MB / 1.591 GB, free: 3.168 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.6861, allocations: 1.15 MB / 1.592 GB, free: 1.973 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.6862, allocations: 102.5 kB / 1.592 GB, free: 1.871 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.6865, allocations: 127.9 kB / 1.593 GB, free: 1.746 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/0.6907, allocations: 1.988 MB / 1.594 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.6907, allocations: 7.938 kB / 1.594 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.6909, allocations: 52 kB / 1.595 GB, free: 15.55 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-05/0.6909, allocations: 62.3 kB / 1.595 GB, free: 15.49 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004953/0.6959, allocations: 1.89 MB / 1.596 GB, free: 13.59 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.7075, allocations: 7.199 MB / 1.603 GB, free: 6.156 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.7119, allocations: 1.562 MB / 1.605 GB, free: 4.586 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.7139, allocations: 0.7454 MB / 1.606 GB, free: 3.84 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007251/0.7146, allocations: 144.9 kB / 1.606 GB, free: 3.699 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/0.7169, allocations: 0.8677 MB / 1.607 GB, free: 2.812 MB / 1.295 GB Notification: Performance of pre-optimization done (n=104): time 3.828e-06/0.7169, allocations: 0 / 1.607 GB, free: 2.812 MB / 1.295 GB Notification: Performance of matching and sorting (n=104): time 0.006757/0.7237, allocations: 2.349 MB / 1.609 GB, free: 472 kB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.7237, allocations: 60.41 kB / 1.609 GB, free: 400 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6575/1.381, allocations: 1.722 MB / 1.611 GB, free: 264.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002718/1.382, allocations: 48.91 kB / 1.611 GB, free: 264.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007911/1.382, allocations: 0.8525 MB / 1.612 GB, free: 264.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/1.383, allocations: 376.6 kB / 1.612 GB, free: 264.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/1.383, allocations: 238.8 kB / 1.612 GB, free: 264.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.383, allocations: 357.1 kB / 1.613 GB, free: 263.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/1.386, allocations: 0.6698 MB / 1.613 GB, free: 263.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/1.388, allocations: 1.288 MB / 1.614 GB, free: 262.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/1.392, allocations: 1.727 MB / 1.616 GB, free: 261.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/1.392, allocations: 3.953 kB / 1.616 GB, free: 261.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005633/1.398, allocations: 1.934 MB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/1.398, allocations: 10.61 kB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.398, allocations: 14.75 kB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/1.398, allocations: 17.22 kB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.4, allocations: 371.4 kB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.378e-05/1.4, allocations: 22.5 kB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.402, allocations: 252.3 kB / 1.619 GB, free: 261.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/1.402, allocations: 66.19 kB / 1.619 GB, free: 261.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0007935/1.403, allocations: 403 kB / 1.619 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/1.403, allocations: 197.7 kB / 1.619 GB, free: 260.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/1.408, allocations: 1.832 MB / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.408, allocations: 12 kB / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.408, allocations: 3.938 kB / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/1.408, allocations: 9.672 kB / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009441/1.417, allocations: 3.794 MB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.417, allocations: 8 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.419, allocations: 272.6 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/1.419, allocations: 10.47 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/1.419, allocations: 39.08 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-05/1.419, allocations: 17.44 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.419, allocations: 9.062 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/1.426, allocations: 2.944 MB / 1.628 GB, free: 257.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.427, allocations: 322.6 kB / 1.628 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004257/1.427, allocations: 32.78 kB / 1.628 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/1.429, allocations: 121.3 kB / 1.628 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/1.429, allocations: 98.25 kB / 1.629 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.429, allocations: 48.72 kB / 1.629 GB, free: 257.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001685/1.431, allocations: 1.178 MB / 1.63 GB, free: 256.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 2e-07/1.431, allocations: 0.5469 kB / 1.63 GB, free: 256.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001756/1.433, allocations: 472.9 kB / 1.63 GB, free: 256.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (110): * Single equations (assignments): 104 * 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.008667/1.441, allocations: 3.991 MB / 1.634 GB, free: 254.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004609/1.446, allocations: 1.591 MB / 1.636 GB, free: 254.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.446, allocations: 1.125 kB / 1.636 GB, free: 254.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/1.448, allocations: 0.7913 MB / 1.636 GB, free: 254.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/1.453, allocations: 0.9329 MB / 1.637 GB, free: 254 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/1.487, allocations: 15.08 MB / 1.652 GB, free: 246.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/1.488, allocations: 0.8027 MB / 1.653 GB, free: 245.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001726/1.49, allocations: 462 kB / 1.653 GB, free: 245.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/1.491, allocations: 0.714 MB / 1.654 GB, free: 244.6 MB / 1.295 GB Notification: Performance of SimCode: time 8.91e-07/1.491, allocations: 0 / 1.654 GB, free: 244.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07555/1.566, allocations: 53.7 MB / 1.706 GB, free: 191.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.6, allocations: 10.66 kB / 1.706 GB, free: 191.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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: 23.632849698071368]