Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.001648/0.001648, allocations: 107.4 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.001862/0.001862, 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.536/1.536, 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.229/3.229, allocations: 497.2 MB / 0.7811 GB, free: 33.7 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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 66.52 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 173.9 MB / 1.304 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003882/0.319, allocations: 2.221 MB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1928/0.5118, allocations: 151 MB / 1.454 GB, free: 7.758 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.512, allocations: 7.938 kB / 1.454 GB, free: 7.75 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.5131, allocations: 0.7756 MB / 1.454 GB, free: 6.973 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007925/0.5139, allocations: 498.6 kB / 1.455 GB, free: 6.484 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.515, allocations: 406.5 kB / 1.455 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.5157, allocations: 0.5655 MB / 1.456 GB, free: 5.52 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.5159, allocations: 74.39 kB / 1.456 GB, free: 5.449 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.5172, allocations: 365.4 kB / 1.456 GB, free: 5.105 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.5178, allocations: 0.523 MB / 1.457 GB, free: 4.582 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.5178, allocations: 24 kB / 1.457 GB, free: 4.559 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006669/0.5185, allocations: 303.5 kB / 1.457 GB, free: 4.262 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.5187, allocations: 187.7 kB / 1.457 GB, free: 4.078 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.519, allocations: 258 kB / 1.457 GB, free: 3.824 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.52, allocations: 0.7543 MB / 1.458 GB, free: 3.066 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.52, allocations: 0 / 1.458 GB, free: 3.066 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.703e-06/0.52, allocations: 0 / 1.458 GB, free: 3.066 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.52, allocations: 0 / 1.458 GB, free: 3.066 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001811/0.5218, allocations: 1.099 MB / 1.459 GB, free: 1.914 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5219, allocations: 8.922 kB / 1.459 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.5219, allocations: 54.55 kB / 1.459 GB, free: 1.844 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.5236, allocations: 195.3 kB / 1.459 GB, free: 1.652 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.5243, allocations: 0.4995 MB / 1.46 GB, free: 1.109 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.5244, allocations: 16.38 kB / 1.46 GB, free: 1.094 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.5244, allocations: 16 kB / 1.46 GB, free: 1.078 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009983/0.5254, allocations: 335.1 kB / 1.46 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5254, allocations: 0 / 1.46 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.5255, allocations: 8 kB / 1.46 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.5255, allocations: 4 kB / 1.46 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5269, allocations: 344.6 kB / 1.461 GB, free: 396 kB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.5293, allocations: 1.112 MB / 1.462 GB, free: 15.22 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.5305, allocations: 385.3 kB / 1.462 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.5312, allocations: 197.4 kB / 1.462 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.5312, allocations: 7.938 kB / 1.462 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009088/0.5321, allocations: 302.3 kB / 1.463 GB, free: 14.3 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.5321, allocations: 3.938 kB / 1.463 GB, free: 14.3 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.009456/0.5416, allocations: 1.217 MB / 1.464 GB, free: 13.05 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.5417, allocations: 92.98 kB / 1.464 GB, free: 12.95 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.5433, allocations: 1.341 MB / 1.465 GB, free: 11.59 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.5434, allocations: 33.7 kB / 1.465 GB, free: 11.55 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.5437, allocations: 364.5 kB / 1.466 GB, free: 11.2 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5439, allocations: 107.2 kB / 1.466 GB, free: 11.09 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.544, allocations: 65.67 kB / 1.466 GB, free: 11.02 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5441, allocations: 325.9 kB / 1.466 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.5448, allocations: 167.9 kB / 1.466 GB, free: 10.53 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.5455, allocations: 231.1 kB / 1.466 GB, free: 10.29 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.5468, allocations: 391.6 kB / 1.467 GB, free: 9.891 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5468, allocations: 4 kB / 1.467 GB, free: 9.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004226/0.5511, allocations: 0.72 MB / 1.467 GB, free: 9.156 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5511, allocations: 4 kB / 1.467 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5511, allocations: 0 / 1.467 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.5522, allocations: 180.7 kB / 1.468 GB, free: 8.973 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.5525, allocations: 71.88 kB / 1.468 GB, free: 8.902 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008336/0.5609, allocations: 2.297 MB / 1.47 GB, free: 6.465 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.5615, allocations: 39.89 kB / 1.47 GB, free: 6.426 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.5616, allocations: 19.98 kB / 1.47 GB, free: 6.406 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000595/0.5622, allocations: 303.7 kB / 1.47 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.5623, allocations: 87.38 kB / 1.47 GB, free: 6.016 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.5667, allocations: 0.7479 MB / 1.471 GB, free: 5.258 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.5667, allocations: 8 kB / 1.471 GB, free: 5.25 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5667, allocations: 0 / 1.471 GB, free: 5.25 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5667, allocations: 7.922 kB / 1.471 GB, free: 5.242 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008041/0.5675, allocations: 0.5702 MB / 1.472 GB, free: 4.621 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5675, allocations: 0 / 1.472 GB, free: 4.621 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.5678, allocations: 51.91 kB / 1.472 GB, free: 4.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.5688, allocations: 180.6 kB / 1.472 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.5688, allocations: 11.98 kB / 1.472 GB, free: 4.379 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007962/0.5768, allocations: 2.307 MB / 1.474 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5768, allocations: 0 / 1.474 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.5811, allocations: 0.7601 MB / 1.475 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.5813, allocations: 152.4 kB / 1.475 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.5814, allocations: 11.92 kB / 1.475 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.5818, allocations: 27.98 kB / 1.475 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.5819, allocations: 23.97 kB / 1.475 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.582, allocations: 19.97 kB / 1.475 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001177/0.5831, allocations: 0.9988 MB / 1.476 GB, free: 15.89 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5831, allocations: 0 / 1.476 GB, free: 15.89 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005235/0.5837, allocations: 119.8 kB / 1.476 GB, free: 15.78 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006246/0.5899, allocations: 1.641 MB / 1.478 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.5918, allocations: 0.5335 MB / 1.478 GB, free: 13.73 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5918, allocations: 3.938 kB / 1.478 GB, free: 13.72 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5928, allocations: 346.7 kB / 1.479 GB, free: 13.37 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.5935, allocations: 119.3 kB / 1.479 GB, free: 13.26 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.6092, allocations: 6.327 MB / 1.485 GB, free: 6.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.6099, allocations: 0.9684 MB / 1.486 GB, free: 5.773 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.6103, allocations: 90.84 kB / 1.486 GB, free: 5.684 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.6107, allocations: 271.3 kB / 1.486 GB, free: 5.418 MB / 1.186 GB Notification: Performance of SimCode: time 1.283e-06/0.6107, allocations: 0 / 1.486 GB, free: 5.418 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05285/0.6635, allocations: 18.03 MB / 1.504 GB, free: 3.559 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.61, allocations: 17.31 kB / 1.504 GB, free: 3.547 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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: 21.480908534955233]