Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 107.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.101/3.101, allocations: 497.2 MB / 0.7812 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] 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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.7 kB / 1.134 GB, free: 33.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.33, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3467/0.6767, allocations: 242.6 MB / 1.541 GB, free: 13.94 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.6931, allocations: 8.426 MB / 1.549 GB, free: 5.492 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002563/0.6957, allocations: 67.56 kB / 1.549 GB, free: 5.426 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.6985, allocations: 1.076 MB / 1.55 GB, free: 4.344 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.00841/0.7069, allocations: 3.192 MB / 1.553 GB, free: 1.141 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009604/0.7165, allocations: 3.602 MB / 1.557 GB, free: 13.54 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006997/0.7235, allocations: 3.987 MB / 1.561 GB, free: 9.535 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002996/0.7265, allocations: 1.195 MB / 1.562 GB, free: 8.305 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005964/0.7324, allocations: 2.289 MB / 1.564 GB, free: 6.008 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.7356, allocations: 1.471 MB / 1.566 GB, free: 4.531 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0006191/0.7362, allocations: 144 kB / 1.566 GB, free: 4.391 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008699/0.7449, allocations: 4.181 MB / 1.57 GB, free: 204 kB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.746, allocations: 0.6191 MB / 1.57 GB, free: 15.57 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.7482, allocations: 1.003 MB / 1.571 GB, free: 14.57 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.009924/0.7581, allocations: 3.901 MB / 1.575 GB, free: 10.66 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.7582, allocations: 7.922 kB / 1.575 GB, free: 10.65 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.053e-06/0.7582, allocations: 0 / 1.575 GB, free: 10.65 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001151/0.7583, allocations: 0 / 1.575 GB, free: 10.65 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008384/0.7667, allocations: 2.737 MB / 1.578 GB, free: 7.84 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/0.7667, allocations: 8.922 kB / 1.578 GB, free: 7.832 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004162/0.7671, allocations: 190.5 kB / 1.578 GB, free: 7.637 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00909/0.7762, allocations: 1.333 MB / 1.579 GB, free: 6.301 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.7797, allocations: 1.291 MB / 1.581 GB, free: 4.957 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.7798, allocations: 102.6 kB / 1.581 GB, free: 4.855 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/0.7803, allocations: 135.9 kB / 1.581 GB, free: 4.723 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005456/0.7858, allocations: 2.071 MB / 1.583 GB, free: 2.551 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.7858, allocations: 11.94 kB / 1.583 GB, free: 2.539 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.786, allocations: 55.98 kB / 1.583 GB, free: 2.484 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.059e-05/0.7861, allocations: 58.47 kB / 1.583 GB, free: 2.426 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006208/0.7923, allocations: 2.176 MB / 1.585 GB, free: 248 kB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.807, allocations: 8.381 MB / 1.593 GB, free: 7.305 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/0.812, allocations: 1.817 MB / 1.595 GB, free: 5.48 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.8145, allocations: 0.9296 MB / 1.596 GB, free: 4.551 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.816, allocations: 0.9452 MB / 1.597 GB, free: 3.422 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002888/0.8189, allocations: 1.066 MB / 1.598 GB, free: 2.34 MB / 1.295 GB Notification: Performance of pre-optimization done (n=119): time 3.797e-06/0.8189, allocations: 0 / 1.598 GB, free: 2.34 MB / 1.295 GB Notification: Performance of matching and sorting (n=119): time 0.6642/1.483, allocations: 2.879 MB / 1.601 GB, free: 294.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/1.483, allocations: 65.53 kB / 1.601 GB, free: 294.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/1.487, allocations: 1.623 MB / 1.603 GB, free: 294.6 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004009/1.487, allocations: 50.61 kB / 1.603 GB, free: 294.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007903/1.488, allocations: 0.8084 MB / 1.603 GB, free: 294.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/1.488, allocations: 433.2 kB / 1.604 GB, free: 294.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/1.489, allocations: 237.3 kB / 1.604 GB, free: 294.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.489, allocations: 355.7 kB / 1.604 GB, free: 293.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/1.491, allocations: 0.8231 MB / 1.605 GB, free: 293.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/1.494, allocations: 1.142 MB / 1.606 GB, free: 293 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004932/1.499, allocations: 1.927 MB / 1.608 GB, free: 292.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.499, allocations: 2.5 kB / 1.608 GB, free: 292.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.007398/1.506, allocations: 2.191 MB / 1.61 GB, free: 291.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/1.506, allocations: 9.328 kB / 1.61 GB, free: 291.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/1.506, allocations: 10.34 kB / 1.61 GB, free: 291.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.131e-05/1.507, allocations: 12.94 kB / 1.61 GB, free: 291.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/1.509, allocations: 413 kB / 1.611 GB, free: 291.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.944e-05/1.509, allocations: 20.05 kB / 1.611 GB, free: 291.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/1.512, allocations: 290.9 kB / 1.611 GB, free: 291.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/1.512, allocations: 60.05 kB / 1.611 GB, free: 291.4 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.001255/1.513, allocations: 397.7 kB / 1.611 GB, free: 291.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006965/1.514, allocations: 204.2 kB / 1.612 GB, free: 291.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/1.52, allocations: 2.165 MB / 1.614 GB, free: 290.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.52, allocations: 11.69 kB / 1.614 GB, free: 290.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.52, allocations: 0 / 1.614 GB, free: 290.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.52, allocations: 5.391 kB / 1.614 GB, free: 290.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/1.531, allocations: 4.459 MB / 1.618 GB, free: 288.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.531, allocations: 6.734 kB / 1.618 GB, free: 288.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.533, allocations: 334.5 kB / 1.618 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.914e-05/1.533, allocations: 10.91 kB / 1.618 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/1.533, allocations: 42.61 kB / 1.618 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-05/1.533, allocations: 16.7 kB / 1.618 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.533, allocations: 15.56 kB / 1.619 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008625/1.542, allocations: 3.449 MB / 1.622 GB, free: 287.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.543, allocations: 417.1 kB / 1.622 GB, free: 287 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004999/1.543, allocations: 32.28 kB / 1.622 GB, free: 287 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/1.545, allocations: 169.5 kB / 1.622 GB, free: 287 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/1.546, allocations: 104.2 kB / 1.623 GB, free: 287 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.546, allocations: 51.03 kB / 1.623 GB, free: 287 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001983/1.548, allocations: 1.112 MB / 1.624 GB, free: 286.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.548, allocations: 0 / 1.624 GB, free: 286.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001847/1.55, allocations: 492.6 kB / 1.624 GB, free: 286.5 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 (119): * Single equations (assignments): 113 * 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.00988/1.56, allocations: 4.499 MB / 1.629 GB, free: 284.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005006/1.565, allocations: 1.899 MB / 1.63 GB, free: 284 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.565, allocations: 0 / 1.63 GB, free: 284 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/1.567, allocations: 0.9595 MB / 1.631 GB, free: 283.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/1.571, allocations: 0.9533 MB / 1.632 GB, free: 283.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/1.603, allocations: 16 MB / 1.648 GB, free: 269.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/1.604, allocations: 1.376 MB / 1.649 GB, free: 268.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00188/1.606, allocations: 474.3 kB / 1.65 GB, free: 267.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009478/1.607, allocations: 0.7179 MB / 1.65 GB, free: 267.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.092e-06/1.607, allocations: 0 / 1.65 GB, free: 267.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08532/1.692, allocations: 50.87 MB / 1.7 GB, free: 216.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.74, allocations: 19.3 kB / 1.7 GB, free: 216.8 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.531821861863136]