Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001358/0.001358, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001691/0.001691, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.34/3.34, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] 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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001981/0.001981, allocations: 66.22 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3787, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2673/0.646, allocations: 214.5 MB / 1.555 GB, free: 8.625 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.6608, allocations: 8.04 MB / 1.563 GB, free: 0.5664 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.6631, allocations: 99.12 kB / 1.563 GB, free: 480 kB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.6662, allocations: 1.045 MB / 1.564 GB, free: 15.42 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.00858/0.6747, allocations: 3.228 MB / 1.567 GB, free: 12.18 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.008705/0.6834, allocations: 3.497 MB / 1.57 GB, free: 8.672 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006279/0.6897, allocations: 3.968 MB / 1.574 GB, free: 4.691 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.6921, allocations: 1.092 MB / 1.575 GB, free: 3.566 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/0.6978, allocations: 2.324 MB / 1.578 GB, free: 1.234 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.701, allocations: 1.459 MB / 1.579 GB, free: 15.77 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005505/0.7016, allocations: 128 kB / 1.579 GB, free: 15.64 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007859/0.7094, allocations: 3.214 MB / 1.582 GB, free: 12.42 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.7107, allocations: 0.6229 MB / 1.583 GB, free: 11.8 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.7126, allocations: 0.8201 MB / 1.584 GB, free: 10.97 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.009192/0.7217, allocations: 3.741 MB / 1.587 GB, free: 7.219 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7218, allocations: 0 / 1.587 GB, free: 7.219 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7218, allocations: 0 / 1.587 GB, free: 7.219 MB / 1.279 GB Notification: Performance of Transformations before backend: time 7.112e-05/0.7218, allocations: 0 / 1.587 GB, free: 7.219 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.007334/0.7292, allocations: 2.643 MB / 1.59 GB, free: 4.523 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.7292, allocations: 8.031 kB / 1.59 GB, free: 4.516 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.379e-05/0.7293, allocations: 34.56 kB / 1.59 GB, free: 4.48 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002658/0.7295, allocations: 198.4 kB / 1.59 GB, free: 4.277 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00782/0.7373, allocations: 1.138 MB / 1.591 GB, free: 3.137 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.7403, allocations: 1.162 MB / 1.592 GB, free: 1.93 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.7404, allocations: 102.6 kB / 1.592 GB, free: 1.828 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.7407, allocations: 135.9 kB / 1.593 GB, free: 1.695 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/0.7452, allocations: 1.959 MB / 1.594 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.7452, allocations: 3.938 kB / 1.594 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.7454, allocations: 56 kB / 1.595 GB, free: 15.55 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.142e-05/0.7455, allocations: 62.34 kB / 1.595 GB, free: 15.49 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/0.7506, allocations: 1.902 MB / 1.596 GB, free: 13.58 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.762, allocations: 6.793 MB / 1.603 GB, free: 6.566 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/0.766, allocations: 1.46 MB / 1.605 GB, free: 5.102 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.7679, allocations: 0.7493 MB / 1.605 GB, free: 4.352 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.769, allocations: 204.8 kB / 1.605 GB, free: 4.152 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.7712, allocations: 0.891 MB / 1.606 GB, free: 3.242 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.707e-06/0.7712, allocations: 0 / 1.606 GB, free: 3.242 MB / 1.295 GB Notification: Performance of matching and sorting (n=106): time 0.006866/0.778, allocations: 2.412 MB / 1.609 GB, free: 0.8281 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.7781, allocations: 64.34 kB / 1.609 GB, free: 0.7539 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7013/1.479, allocations: 1.761 MB / 1.61 GB, free: 264.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002663/1.48, allocations: 48.25 kB / 1.611 GB, free: 264.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007126/1.48, allocations: 0.8409 MB / 1.611 GB, free: 264.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/1.481, allocations: 385.8 kB / 1.612 GB, free: 264.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/1.481, allocations: 239.9 kB / 1.612 GB, free: 264.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/1.481, allocations: 357.7 kB / 1.612 GB, free: 263.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/1.484, allocations: 0.6797 MB / 1.613 GB, free: 263.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/1.486, allocations: 1.283 MB / 1.614 GB, free: 262.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/1.49, allocations: 1.729 MB / 1.616 GB, free: 261.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/1.49, allocations: 6.906 kB / 1.616 GB, free: 261.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005408/1.495, allocations: 1.946 MB / 1.618 GB, free: 261.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/1.495, allocations: 11.75 kB / 1.618 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/1.495, allocations: 10.78 kB / 1.618 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/1.495, allocations: 16.88 kB / 1.618 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/1.497, allocations: 363.8 kB / 1.618 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/1.497, allocations: 27.52 kB / 1.618 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.499, allocations: 249.1 kB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/1.499, allocations: 61.77 kB / 1.618 GB, free: 261.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0007922/1.5, allocations: 411.6 kB / 1.619 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/1.501, allocations: 203.4 kB / 1.619 GB, free: 260.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/1.505, allocations: 1.874 MB / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/1.505, allocations: 14.95 kB / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.505, allocations: 0 / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.505, allocations: 6.922 kB / 1.621 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009851/1.515, allocations: 3.848 MB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/1.515, allocations: 6.281 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.517, allocations: 281 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/1.517, allocations: 17.08 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.517, allocations: 36.69 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/1.517, allocations: 15.83 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.517, allocations: 11.34 kB / 1.625 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006648/1.524, allocations: 2.997 MB / 1.628 GB, free: 257.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/1.525, allocations: 331.1 kB / 1.628 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/1.525, allocations: 37.09 kB / 1.628 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.526, allocations: 119.5 kB / 1.628 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.527, allocations: 95.03 kB / 1.629 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.527, allocations: 48.73 kB / 1.629 GB, free: 257.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001838/1.529, allocations: 1.214 MB / 1.63 GB, free: 256.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/1.529, allocations: 0 / 1.63 GB, free: 256.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001637/1.53, allocations: 469.2 kB / 1.63 GB, free: 256.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (112): * Single equations (assignments): 106 * 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.008357/1.539, allocations: 4.043 MB / 1.634 GB, free: 254.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00431/1.543, allocations: 1.617 MB / 1.636 GB, free: 254.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.543, allocations: 1.062 kB / 1.636 GB, free: 254.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.545, allocations: 0.8032 MB / 1.637 GB, free: 254.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/1.549, allocations: 0.9769 MB / 1.637 GB, free: 253.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/1.576, allocations: 14.84 MB / 1.652 GB, free: 246.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/1.577, allocations: 0.8018 MB / 1.653 GB, free: 246 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002063/1.579, allocations: 466.5 kB / 1.653 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.58, allocations: 0.7179 MB / 1.654 GB, free: 244.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.402e-06/1.58, allocations: 4 kB / 1.654 GB, free: 244.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08371/1.664, allocations: 55.42 MB / 1.708 GB, free: 190.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/16.65, allocations: 15.48 kB / 1.708 GB, free: 190.4 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.991110653965734]