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.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.001915/0.001915, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.002126/0.002126, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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 2.893/2.893, allocations: 497.2 MB / 0.7811 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] 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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.88 kB / 1.134 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 173.9 MB / 1.304 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2842/1.338, allocations: 242.7 MB / 1.541 GB, free: 4.727 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01646/1.354, allocations: 8.427 MB / 1.549 GB, free: 12.28 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/1.357, allocations: 67.56 kB / 1.549 GB, free: 12.21 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003205/1.36, allocations: 1.076 MB / 1.55 GB, free: 11.13 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009401/1.37, allocations: 3.185 MB / 1.553 GB, free: 7.93 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009298/1.379, allocations: 3.594 MB / 1.557 GB, free: 4.336 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007027/1.386, allocations: 3.913 MB / 1.561 GB, free: 420 kB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/1.388, allocations: 1.146 MB / 1.562 GB, free: 15.23 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006239/1.394, allocations: 2.269 MB / 1.564 GB, free: 12.95 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/1.397, allocations: 1.436 MB / 1.565 GB, free: 11.51 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003433/1.398, allocations: 128 kB / 1.566 GB, free: 11.39 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008646/1.406, allocations: 4.173 MB / 1.57 GB, free: 7.203 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/1.407, allocations: 0.6151 MB / 1.57 GB, free: 6.586 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/1.409, allocations: 0.987 MB / 1.571 GB, free: 5.594 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.42, allocations: 3.873 MB / 1.575 GB, free: 1.707 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.42, allocations: 0 / 1.575 GB, free: 1.707 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.984e-06/1.42, allocations: 0 / 1.575 GB, free: 1.707 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.966e-05/1.42, allocations: 0 / 1.575 GB, free: 1.707 MB / 1.248 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.006856/1.427, allocations: 2.714 MB / 1.578 GB, free: 14.92 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.427, allocations: 8.031 kB / 1.578 GB, free: 14.91 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/1.427, allocations: 190.4 kB / 1.578 GB, free: 14.72 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00761/1.434, allocations: 1.142 MB / 1.579 GB, free: 13.57 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/1.438, allocations: 1.267 MB / 1.58 GB, free: 12.25 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/1.438, allocations: 106.5 kB / 1.58 GB, free: 12.15 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/1.438, allocations: 128 kB / 1.58 GB, free: 12.02 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/1.442, allocations: 1.963 MB / 1.582 GB, free: 9.934 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/1.442, allocations: 0 / 1.582 GB, free: 9.934 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.442, allocations: 52 kB / 1.582 GB, free: 9.883 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-05/1.443, allocations: 66.34 kB / 1.582 GB, free: 9.816 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004677/1.447, allocations: 1.89 MB / 1.584 GB, free: 7.918 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/1.46, allocations: 8.676 MB / 1.593 GB, free: 14.65 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/1.464, allocations: 1.447 MB / 1.594 GB, free: 13.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/1.465, allocations: 0.7542 MB / 1.595 GB, free: 12.45 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/1.467, allocations: 0.9453 MB / 1.596 GB, free: 11.31 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/1.469, allocations: 0.8832 MB / 1.597 GB, free: 10.42 MB / 1.279 GB Notification: Performance of pre-optimization done (n=106): time 3.136e-06/1.469, allocations: 0 / 1.597 GB, free: 10.42 MB / 1.279 GB Notification: Performance of matching and sorting (n=106): time 0.006954/1.476, allocations: 2.388 MB / 1.599 GB, free: 8.027 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.476, allocations: 64.41 kB / 1.599 GB, free: 7.949 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.479, allocations: 1.706 MB / 1.601 GB, free: 6.195 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/1.479, allocations: 53.7 kB / 1.601 GB, free: 6.137 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008591/1.48, allocations: 0.8325 MB / 1.602 GB, free: 5.297 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/1.48, allocations: 388.7 kB / 1.602 GB, free: 4.914 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/1.48, allocations: 242.8 kB / 1.602 GB, free: 4.672 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.481, allocations: 353.9 kB / 1.603 GB, free: 4.32 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/1.482, allocations: 0.6661 MB / 1.603 GB, free: 3.652 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/1.485, allocations: 1.049 MB / 1.604 GB, free: 2.453 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/1.489, allocations: 1.718 MB / 1.606 GB, free: 0.5898 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.489, allocations: 4 kB / 1.606 GB, free: 0.5859 MB / 1.279 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004903/1.493, allocations: 1.925 MB / 1.608 GB, free: 14.65 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.494, allocations: 14.03 kB / 1.608 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.494, allocations: 8 kB / 1.608 GB, free: 14.63 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.986e-05/1.494, allocations: 20 kB / 1.608 GB, free: 14.61 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.495, allocations: 367.8 kB / 1.608 GB, free: 14.25 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.75e-05/1.495, allocations: 19.94 kB / 1.608 GB, free: 14.23 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/1.497, allocations: 258.5 kB / 1.608 GB, free: 13.98 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.497, allocations: 72.06 kB / 1.609 GB, free: 13.91 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.0007946/1.498, allocations: 399.5 kB / 1.609 GB, free: 13.51 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004774/1.499, allocations: 202.7 kB / 1.609 GB, free: 13.31 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/1.503, allocations: 1.817 MB / 1.611 GB, free: 11.49 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.503, allocations: 15.98 kB / 1.611 GB, free: 11.47 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.503, allocations: 4 kB / 1.611 GB, free: 11.47 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.503, allocations: 3.984 kB / 1.611 GB, free: 11.46 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009014/1.512, allocations: 3.975 MB / 1.615 GB, free: 7.34 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.512, allocations: 4 kB / 1.615 GB, free: 7.336 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.514, allocations: 271.6 kB / 1.615 GB, free: 7.07 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/1.514, allocations: 15.94 kB / 1.615 GB, free: 7.055 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/1.514, allocations: 35.97 kB / 1.615 GB, free: 7.02 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/1.514, allocations: 15.94 kB / 1.615 GB, free: 7.004 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.514, allocations: 11.94 kB / 1.615 GB, free: 6.992 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006841/1.521, allocations: 2.927 MB / 1.618 GB, free: 3.961 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.522, allocations: 399.5 kB / 1.618 GB, free: 3.551 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005314/1.523, allocations: 39.92 kB / 1.618 GB, free: 3.512 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.524, allocations: 119.9 kB / 1.619 GB, free: 3.395 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.525, allocations: 84.44 kB / 1.619 GB, free: 3.312 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.525, allocations: 47.97 kB / 1.619 GB, free: 3.266 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002372/1.527, allocations: 1.167 MB / 1.62 GB, free: 2.074 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/1.527, allocations: 4 kB / 1.62 GB, free: 2.07 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002258/1.529, allocations: 463.5 kB / 1.62 GB, free: 1.617 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 (106): * Single equations (assignments): 100 * 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.009189/1.539, allocations: 3.97 MB / 1.624 GB, free: 13.71 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004429/1.543, allocations: 1.589 MB / 1.626 GB, free: 12.12 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.543, allocations: 0 / 1.626 GB, free: 12.12 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.545, allocations: 0.7859 MB / 1.626 GB, free: 11.34 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/1.55, allocations: 0.9705 MB / 1.627 GB, free: 10.38 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/1.579, allocations: 14.67 MB / 1.642 GB, free: 11.02 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.58, allocations: 1.368 MB / 1.643 GB, free: 9.621 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002024/1.582, allocations: 462.9 kB / 1.644 GB, free: 9.164 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.584, allocations: 0.7179 MB / 1.644 GB, free: 8.445 MB / 1.326 GB Notification: Performance of SimCode: time 1.543e-06/1.584, allocations: 0 / 1.644 GB, free: 8.445 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.706, allocations: 50.67 MB / 1.694 GB, free: 6.371 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.71, allocations: 8.047 kB / 1.694 GB, free: 6.363 MB / 1.373 GB " [Timeout remaining time 286] (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_2/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: 20.351900077424943]