Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001462/0.001462, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00167/0.00167, allocations: 212.3 kB / 22.25 MB, free: 5.262 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.38/1.38, 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.937/2.937, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001852/0.001852, allocations: 69.5 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3095, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2451/0.5546, allocations: 214.7 MB / 1.536 GB, free: 10.01 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.5687, allocations: 8.056 MB / 1.543 GB, free: 1.941 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.5706, allocations: 99.06 kB / 1.544 GB, free: 1.844 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.5733, allocations: 1.045 MB / 1.545 GB, free: 0.793 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007819/0.5811, allocations: 3.22 MB / 1.548 GB, free: 13.56 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008165/0.5892, allocations: 3.514 MB / 1.551 GB, free: 10.04 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005803/0.595, allocations: 3.964 MB / 1.555 GB, free: 6.059 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.597, allocations: 1.1 MB / 1.556 GB, free: 4.926 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004933/0.6019, allocations: 2.332 MB / 1.558 GB, free: 2.586 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.6043, allocations: 1.447 MB / 1.56 GB, free: 1.133 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.6046, allocations: 132 kB / 1.56 GB, free: 1.004 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006255/0.6109, allocations: 3.214 MB / 1.563 GB, free: 13.78 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007449/0.6116, allocations: 0.619 MB / 1.564 GB, free: 13.16 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.6128, allocations: 0.8201 MB / 1.564 GB, free: 12.34 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006515/0.6193, allocations: 3.745 MB / 1.568 GB, free: 8.578 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6193, allocations: 0 / 1.568 GB, free: 8.578 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6193, allocations: 0 / 1.568 GB, free: 8.578 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.6193, allocations: 0 / 1.568 GB, free: 8.578 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006171/0.6255, allocations: 2.647 MB / 1.571 GB, free: 5.879 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.6255, allocations: 12.03 kB / 1.571 GB, free: 5.867 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002356/0.6258, allocations: 190.4 kB / 1.571 GB, free: 5.672 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00739/0.6332, allocations: 1.146 MB / 1.572 GB, free: 4.523 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.6359, allocations: 1.146 MB / 1.573 GB, free: 3.332 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.636, allocations: 98.56 kB / 1.573 GB, free: 3.234 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.6362, allocations: 135.9 kB / 1.573 GB, free: 3.102 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004036/0.6402, allocations: 1.967 MB / 1.575 GB, free: 1.008 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.6403, allocations: 7.938 kB / 1.575 GB, free: 1 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.6404, allocations: 52 kB / 1.575 GB, free: 0.9492 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-05/0.6405, allocations: 62.34 kB / 1.575 GB, free: 0.8867 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/0.6451, allocations: 1.898 MB / 1.577 GB, free: 14.98 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.6557, allocations: 6.797 MB / 1.584 GB, free: 7.969 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003764/0.6594, allocations: 1.466 MB / 1.585 GB, free: 6.496 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.6613, allocations: 0.7507 MB / 1.586 GB, free: 5.746 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009885/0.6623, allocations: 200.8 kB / 1.586 GB, free: 5.551 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002112/0.6644, allocations: 0.8833 MB / 1.587 GB, free: 4.648 MB / 1.279 GB Notification: Performance of pre-optimization done (n=106): time 6.021e-06/0.6644, allocations: 4 kB / 1.587 GB, free: 4.645 MB / 1.279 GB Notification: Performance of matching and sorting (n=106): time 0.006721/0.6711, allocations: 2.416 MB / 1.589 GB, free: 2.227 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.6712, allocations: 68.39 kB / 1.589 GB, free: 2.148 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.6735, allocations: 1.781 MB / 1.591 GB, free: 328 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6736, allocations: 49.7 kB / 1.591 GB, free: 272 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.6743, allocations: 0.8366 MB / 1.592 GB, free: 15.42 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.6746, allocations: 388.7 kB / 1.592 GB, free: 15.04 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/0.675, allocations: 238.8 kB / 1.593 GB, free: 14.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6752, allocations: 357.9 kB / 1.593 GB, free: 14.45 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.677, allocations: 0.6778 MB / 1.594 GB, free: 13.77 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.6792, allocations: 1.283 MB / 1.595 GB, free: 12.27 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/0.6831, allocations: 1.725 MB / 1.597 GB, free: 10.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.6831, allocations: 4 kB / 1.597 GB, free: 10.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004661/0.6878, allocations: 1.949 MB / 1.599 GB, free: 8.438 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6878, allocations: 9.656 kB / 1.599 GB, free: 8.43 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.6878, allocations: 15.94 kB / 1.599 GB, free: 8.414 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.6878, allocations: 16 kB / 1.599 GB, free: 8.398 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.6896, allocations: 363.8 kB / 1.599 GB, free: 8.043 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.344e-05/0.6897, allocations: 27.92 kB / 1.599 GB, free: 8.016 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.6914, allocations: 246.7 kB / 1.599 GB, free: 7.773 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.6915, allocations: 63.98 kB / 1.599 GB, free: 7.711 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.0007047/0.6922, allocations: 407.2 kB / 1.6 GB, free: 7.305 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.6925, allocations: 202.7 kB / 1.6 GB, free: 7.105 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/0.6972, allocations: 1.887 MB / 1.602 GB, free: 5.215 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6972, allocations: 8 kB / 1.602 GB, free: 5.207 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6972, allocations: 4 kB / 1.602 GB, free: 5.203 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.6972, allocations: 11.92 kB / 1.602 GB, free: 5.191 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007746/0.7049, allocations: 3.843 MB / 1.605 GB, free: 1.203 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.705, allocations: 4 kB / 1.605 GB, free: 1.199 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.7065, allocations: 276 kB / 1.606 GB, free: 0.9297 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.7065, allocations: 15.94 kB / 1.606 GB, free: 0.9141 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7066, allocations: 39.97 kB / 1.606 GB, free: 0.875 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.7067, allocations: 19.94 kB / 1.606 GB, free: 0.8555 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/0.7067, allocations: 11.94 kB / 1.606 GB, free: 0.8438 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5598/1.267, allocations: 2.986 MB / 1.609 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.268, allocations: 335 kB / 1.609 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/1.268, allocations: 34.75 kB / 1.609 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.269, allocations: 122.2 kB / 1.609 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.269, allocations: 97.12 kB / 1.609 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.27, allocations: 48.7 kB / 1.609 GB, free: 279.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001693/1.271, allocations: 1.208 MB / 1.611 GB, free: 279.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.271, allocations: 0 / 1.611 GB, free: 279.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001378/1.273, allocations: 474.5 kB / 1.611 GB, free: 279.1 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.008155/1.281, allocations: 4.038 MB / 1.615 GB, free: 277.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004132/1.285, allocations: 1.608 MB / 1.616 GB, free: 276.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.285, allocations: 1.375 kB / 1.616 GB, free: 276.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/1.287, allocations: 0.8147 MB / 1.617 GB, free: 276.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/1.292, allocations: 0.9756 MB / 1.618 GB, free: 276.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/1.319, allocations: 14.83 MB / 1.633 GB, free: 269.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009302/1.32, allocations: 0.7993 MB / 1.633 GB, free: 269.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001973/1.322, allocations: 469.2 kB / 1.634 GB, free: 269.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009418/1.323, allocations: 0.7219 MB / 1.635 GB, free: 268.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.62e-07/1.323, allocations: 1.5 kB / 1.635 GB, free: 268.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08368/1.407, allocations: 56.14 MB / 1.689 GB, free: 220.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.63, allocations: 3.562 kB / 1.689 GB, free: 220.3 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.00039733198355]