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.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.001628/0.001628, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001944/0.001944, allocations: 218.2 kB / 22.25 MB, free: 5.117 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.953 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.369/3.369, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.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: 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.002098/0.002098, allocations: 62.34 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3506, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004277/0.3549, allocations: 2.265 MB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.5404, allocations: 154 MB / 1.505 GB, free: 11.63 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.5407, allocations: 11.88 kB / 1.505 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.5419, allocations: 0.7756 MB / 1.506 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.543, allocations: 0.5259 MB / 1.507 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.5441, allocations: 342.7 kB / 1.507 GB, free: 9.977 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009506/0.545, allocations: 0.5849 MB / 1.508 GB, free: 9.387 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.5453, allocations: 60.83 kB / 1.508 GB, free: 9.332 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.5468, allocations: 385 kB / 1.508 GB, free: 8.969 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008817/0.5477, allocations: 0.5308 MB / 1.509 GB, free: 8.438 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/0.5478, allocations: 24 kB / 1.509 GB, free: 8.414 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008218/0.5486, allocations: 307.5 kB / 1.509 GB, free: 8.113 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.5489, allocations: 191.6 kB / 1.509 GB, free: 7.926 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.5492, allocations: 269.9 kB / 1.509 GB, free: 7.66 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.5506, allocations: 0.7544 MB / 1.51 GB, free: 6.902 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5506, allocations: 3.938 kB / 1.51 GB, free: 6.898 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5506, allocations: 3.938 kB / 1.51 GB, free: 6.895 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.5507, allocations: 4 kB / 1.51 GB, free: 6.891 MB / 1.201 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.002218/0.5529, allocations: 1.045 MB / 1.511 GB, free: 5.812 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.5529, allocations: 12.03 kB / 1.511 GB, free: 5.801 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.554e-05/0.553, allocations: 46.55 kB / 1.511 GB, free: 5.746 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.5551, allocations: 235.2 kB / 1.511 GB, free: 5.516 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/0.556, allocations: 448.3 kB / 1.512 GB, free: 5.047 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.5561, allocations: 12.38 kB / 1.512 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.5561, allocations: 16 kB / 1.512 GB, free: 5.02 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5572, allocations: 342.9 kB / 1.512 GB, free: 4.668 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5572, allocations: 0 / 1.512 GB, free: 4.668 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.5572, allocations: 11.98 kB / 1.512 GB, free: 4.656 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5572, allocations: 4 kB / 1.512 GB, free: 4.652 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.5586, allocations: 356.6 kB / 1.512 GB, free: 4.305 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.5612, allocations: 1.092 MB / 1.514 GB, free: 3.164 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.5624, allocations: 385.2 kB / 1.514 GB, free: 2.77 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006973/0.5631, allocations: 189.6 kB / 1.514 GB, free: 2.578 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.5631, allocations: 15.92 kB / 1.514 GB, free: 2.562 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009053/0.564, allocations: 296.8 kB / 1.514 GB, free: 2.254 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.504e-06/0.564, allocations: 0 / 1.514 GB, free: 2.254 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.009585/0.5736, allocations: 1.161 MB / 1.515 GB, free: 1.082 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.5737, allocations: 85.05 kB / 1.516 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.5756, allocations: 1.365 MB / 1.517 GB, free: 15.61 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.5757, allocations: 29.7 kB / 1.517 GB, free: 15.57 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.5761, allocations: 380.5 kB / 1.517 GB, free: 15.2 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.5763, allocations: 103.2 kB / 1.517 GB, free: 15.09 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.5764, allocations: 61.67 kB / 1.517 GB, free: 15.03 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5766, allocations: 321.9 kB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.5773, allocations: 179.7 kB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007322/0.5781, allocations: 233.9 kB / 1.518 GB, free: 14.28 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.5795, allocations: 396.1 kB / 1.519 GB, free: 13.88 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.5795, allocations: 0 / 1.519 GB, free: 13.88 MB / 1.217 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004478/0.584, allocations: 0.7208 MB / 1.519 GB, free: 13.15 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.584, allocations: 10.34 kB / 1.519 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.584, allocations: 4.062 kB / 1.519 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.5851, allocations: 176.6 kB / 1.519 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.5855, allocations: 67.89 kB / 1.519 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008256/0.5938, allocations: 2.196 MB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.5944, allocations: 43.83 kB / 1.522 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.5945, allocations: 19.98 kB / 1.522 GB, free: 10.52 MB / 1.217 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.0004515/0.5949, allocations: 297.6 kB / 1.522 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.5951, allocations: 87.38 kB / 1.522 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.5996, allocations: 0.8173 MB / 1.523 GB, free: 9.305 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5996, allocations: 4 kB / 1.523 GB, free: 9.301 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5996, allocations: 0 / 1.523 GB, free: 9.301 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.5996, allocations: 3.984 kB / 1.523 GB, free: 9.297 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.6004, allocations: 0.5573 MB / 1.523 GB, free: 8.695 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6004, allocations: 0 / 1.523 GB, free: 8.695 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.6007, allocations: 47.91 kB / 1.523 GB, free: 8.648 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.6017, allocations: 180.7 kB / 1.524 GB, free: 8.469 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.6017, allocations: 15.97 kB / 1.524 GB, free: 8.453 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/0.6097, allocations: 2.184 MB / 1.526 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6097, allocations: 3.984 kB / 1.526 GB, free: 6.148 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.6141, allocations: 0.7675 MB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.6143, allocations: 83.36 kB / 1.527 GB, free: 5.273 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.6145, allocations: 16 kB / 1.527 GB, free: 5.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.6149, allocations: 27.97 kB / 1.527 GB, free: 5.23 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.615, allocations: 19.97 kB / 1.527 GB, free: 5.211 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/0.6151, allocations: 23.97 kB / 1.527 GB, free: 5.188 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001346/0.6164, allocations: 1.014 MB / 1.528 GB, free: 4.176 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6164, allocations: 0 / 1.528 GB, free: 4.176 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000594/0.617, allocations: 103.9 kB / 1.528 GB, free: 4.074 MB / 1.217 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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.006317/0.6234, allocations: 1.636 MB / 1.529 GB, free: 2.566 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.6253, allocations: 0.5341 MB / 1.53 GB, free: 2.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.6253, allocations: 4.062 kB / 1.53 GB, free: 2.016 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.6264, allocations: 342.4 kB / 1.53 GB, free: 1.668 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.6271, allocations: 122.8 kB / 1.53 GB, free: 1.555 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.6438, allocations: 6.404 MB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/0.6445, allocations: 0.9719 MB / 1.538 GB, free: 9.977 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003706/0.6449, allocations: 98.84 kB / 1.538 GB, free: 9.879 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.6453, allocations: 263.3 kB / 1.538 GB, free: 9.621 MB / 1.232 GB Notification: Performance of SimCode: time 1.042e-06/0.6453, allocations: 0 / 1.538 GB, free: 9.621 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06493/0.7102, allocations: 18.43 MB / 1.556 GB, free: 7.316 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15, allocations: 4 kB / 1.556 GB, free: 7.312 MB / 1.248 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/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: 22.231648650951684]