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.001374/0.001374, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001558/0.001558, allocations: 214.5 kB / 22.24 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.797 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.291/3.291, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [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.002108/0.002108, allocations: 69.64 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003927/0.3528, allocations: 2.137 MB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.5389, allocations: 132.4 MB / 1.495 GB, free: 6.512 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.5392, allocations: 7.938 kB / 1.495 GB, free: 6.504 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.5402, allocations: 0.7795 MB / 1.496 GB, free: 5.723 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0009409/0.5412, allocations: 0.522 MB / 1.496 GB, free: 5.199 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5422, allocations: 342.7 kB / 1.497 GB, free: 4.863 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000704/0.5429, allocations: 0.5927 MB / 1.497 GB, free: 4.27 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.5431, allocations: 48.89 kB / 1.497 GB, free: 4.223 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.5443, allocations: 378.5 kB / 1.498 GB, free: 3.863 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.5449, allocations: 0.5191 MB / 1.498 GB, free: 3.344 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.545, allocations: 24 kB / 1.498 GB, free: 3.32 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.5456, allocations: 291.6 kB / 1.499 GB, free: 3.035 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.5458, allocations: 195.7 kB / 1.499 GB, free: 2.844 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.546, allocations: 202.3 kB / 1.499 GB, free: 2.645 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009928/0.547, allocations: 0.7661 MB / 1.5 GB, free: 1.875 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.547, allocations: 0 / 1.5 GB, free: 1.875 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.547, allocations: 0 / 1.5 GB, free: 1.875 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.547, allocations: 0 / 1.5 GB, free: 1.875 MB / 1.186 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.001716/0.5487, allocations: 1.045 MB / 1.501 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5488, allocations: 12.03 kB / 1.501 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.5506, allocations: 231.2 kB / 1.501 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.5513, allocations: 437.2 kB / 1.501 GB, free: 104 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.5513, allocations: 16.38 kB / 1.501 GB, free: 88 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.5513, allocations: 16 kB / 1.501 GB, free: 72 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/0.5523, allocations: 339.2 kB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5523, allocations: 0 / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.5524, allocations: 8 kB / 1.502 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5524, allocations: 4 kB / 1.502 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5537, allocations: 368.6 kB / 1.502 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.5559, allocations: 1.018 MB / 1.503 GB, free: 14.3 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.557, allocations: 405.2 kB / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/0.5577, allocations: 201.6 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.5578, allocations: 4 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008501/0.5586, allocations: 325.1 kB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.5586, allocations: 0 / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.008517/0.5671, allocations: 1.177 MB / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.5672, allocations: 81.11 kB / 1.505 GB, free: 12.06 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.5688, allocations: 1.384 MB / 1.507 GB, free: 10.67 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.5689, allocations: 33.7 kB / 1.507 GB, free: 10.63 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.5693, allocations: 368.5 kB / 1.507 GB, free: 10.26 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.5694, allocations: 99.17 kB / 1.507 GB, free: 10.16 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.5695, allocations: 65.67 kB / 1.507 GB, free: 10.09 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5696, allocations: 318 kB / 1.507 GB, free: 9.777 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.5703, allocations: 187.7 kB / 1.508 GB, free: 9.594 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.571, allocations: 289.3 kB / 1.508 GB, free: 9.277 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.5723, allocations: 411.6 kB / 1.508 GB, free: 8.863 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5723, allocations: 0 / 1.508 GB, free: 8.863 MB / 1.201 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003867/0.5762, allocations: 0.7472 MB / 1.509 GB, free: 8.105 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5762, allocations: 5.25 kB / 1.509 GB, free: 8.102 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5762, allocations: 4 kB / 1.509 GB, free: 8.098 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.5773, allocations: 176.6 kB / 1.509 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.5777, allocations: 63.97 kB / 1.509 GB, free: 7.859 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007654/0.5853, allocations: 2.154 MB / 1.511 GB, free: 5.605 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.5859, allocations: 43.88 kB / 1.511 GB, free: 5.562 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.586, allocations: 15.98 kB / 1.511 GB, free: 5.547 MB / 1.201 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.0004803/0.5865, allocations: 298.7 kB / 1.512 GB, free: 5.246 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5866, allocations: 83.44 kB / 1.512 GB, free: 5.164 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/0.5907, allocations: 0.861 MB / 1.513 GB, free: 4.289 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.5907, allocations: 8 kB / 1.513 GB, free: 4.281 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5907, allocations: 0 / 1.513 GB, free: 4.281 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5907, allocations: 3.984 kB / 1.513 GB, free: 4.277 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.5914, allocations: 495.5 kB / 1.513 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5914, allocations: 0 / 1.513 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.5917, allocations: 63.84 kB / 1.513 GB, free: 3.699 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009491/0.5927, allocations: 176.6 kB / 1.513 GB, free: 3.523 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.5928, allocations: 19.92 kB / 1.513 GB, free: 3.504 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007237/0.6, allocations: 2.146 MB / 1.515 GB, free: 1.254 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.6, allocations: 8.016 kB / 1.515 GB, free: 1.246 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004004/0.604, allocations: 0.8095 MB / 1.516 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.6042, allocations: 79.31 kB / 1.516 GB, free: 340 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.6043, allocations: 8 kB / 1.516 GB, free: 332 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.6047, allocations: 31.97 kB / 1.516 GB, free: 300 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.6048, allocations: 27.89 kB / 1.516 GB, free: 272 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.6049, allocations: 27.91 kB / 1.516 GB, free: 244 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001237/0.6061, allocations: 1.026 MB / 1.517 GB, free: 15.21 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6061, allocations: 0 / 1.517 GB, free: 15.21 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000555/0.6067, allocations: 119.9 kB / 1.517 GB, free: 15.1 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 (37): * Single equations (assignments): 32 * 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.001776/0.6084, allocations: 464.7 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.6104, allocations: 0.5492 MB / 1.518 GB, free: 14.26 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6104, allocations: 7.938 kB / 1.518 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.6114, allocations: 363.2 kB / 1.519 GB, free: 13.88 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.612, allocations: 116.3 kB / 1.519 GB, free: 13.78 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.6149, allocations: 1.643 MB / 1.521 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.6153, allocations: 383.4 kB / 1.521 GB, free: 11.7 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.6157, allocations: 90.84 kB / 1.521 GB, free: 11.61 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.6158, allocations: 47.41 kB / 1.521 GB, free: 11.57 MB / 1.217 GB Notification: Performance of SimCode: time 1.382e-06/0.6158, allocations: 0 / 1.521 GB, free: 11.57 MB / 1.217 GB Notification: Performance of Templates: time 0.02047/0.6363, allocations: 11.39 MB / 1.532 GB, free: 292 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/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: 9.333464588969946]