Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001762/0.001762, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002205/0.002205, allocations: 211.5 kB / 22.98 MB, free: 4.984 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002053/0.002053, allocations: 67.86 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3217, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003713/0.3254, allocations: 2.124 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1776/0.5029, allocations: 132.4 MB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.5031, allocations: 3.938 kB / 1.458 GB, free: 10 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.5042, allocations: 0.7757 MB / 1.459 GB, free: 9.227 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000853/0.505, allocations: 0.5258 MB / 1.46 GB, free: 8.699 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.5059, allocations: 346.7 kB / 1.46 GB, free: 8.359 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000716/0.5066, allocations: 0.5888 MB / 1.461 GB, free: 7.766 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.5068, allocations: 60.88 kB / 1.461 GB, free: 7.707 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.508, allocations: 370.2 kB / 1.461 GB, free: 7.359 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/0.5086, allocations: 0.5347 MB / 1.462 GB, free: 6.824 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.5087, allocations: 24 kB / 1.462 GB, free: 6.801 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000621/0.5093, allocations: 303.6 kB / 1.462 GB, free: 6.504 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.5095, allocations: 187.7 kB / 1.462 GB, free: 6.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.5097, allocations: 194.4 kB / 1.462 GB, free: 6.129 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.5107, allocations: 0.77 MB / 1.463 GB, free: 5.355 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5107, allocations: 0 / 1.463 GB, free: 5.355 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5107, allocations: 0 / 1.463 GB, free: 5.355 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5107, allocations: 0 / 1.463 GB, free: 5.355 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.001793/0.5125, allocations: 1.047 MB / 1.464 GB, free: 4.273 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5126, allocations: 8.031 kB / 1.464 GB, free: 4.266 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.5146, allocations: 223.2 kB / 1.464 GB, free: 4.047 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.5153, allocations: 437.2 kB / 1.465 GB, free: 3.59 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.5153, allocations: 12.38 kB / 1.465 GB, free: 3.578 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.5154, allocations: 24 kB / 1.465 GB, free: 3.555 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5164, allocations: 350.8 kB / 1.465 GB, free: 3.199 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5165, allocations: 0 / 1.465 GB, free: 3.199 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.5165, allocations: 4 kB / 1.465 GB, free: 3.195 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.5165, allocations: 4 kB / 1.465 GB, free: 3.191 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.518, allocations: 360.7 kB / 1.465 GB, free: 2.84 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.5204, allocations: 1.01 MB / 1.466 GB, free: 1.793 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.5217, allocations: 389.3 kB / 1.467 GB, free: 1.395 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.5225, allocations: 206 kB / 1.467 GB, free: 1.188 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.5225, allocations: 4 kB / 1.467 GB, free: 1.184 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009432/0.5234, allocations: 316.7 kB / 1.467 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.5234, allocations: 4 kB / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.01071/0.5342, allocations: 1.161 MB / 1.468 GB, free: 15.68 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.5342, allocations: 85.05 kB / 1.468 GB, free: 15.58 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.536, allocations: 1.38 MB / 1.47 GB, free: 14.19 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.536, allocations: 29.7 kB / 1.47 GB, free: 14.15 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.5364, allocations: 380.4 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5365, allocations: 99.16 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.5366, allocations: 69.67 kB / 1.47 GB, free: 13.6 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5368, allocations: 318 kB / 1.471 GB, free: 13.29 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/0.5375, allocations: 187.7 kB / 1.471 GB, free: 13.1 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.5384, allocations: 289.3 kB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5399, allocations: 402.3 kB / 1.471 GB, free: 12.38 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5399, allocations: 0 / 1.471 GB, free: 12.38 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004777/0.5447, allocations: 0.7303 MB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5447, allocations: 8 kB / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5447, allocations: 0 / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.5459, allocations: 184.7 kB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.5463, allocations: 59.91 kB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009405/0.5557, allocations: 2.165 MB / 1.475 GB, free: 9.125 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.5563, allocations: 43.95 kB / 1.475 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.5564, allocations: 15.98 kB / 1.475 GB, free: 9.066 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.0004119/0.5568, allocations: 302.1 kB / 1.475 GB, free: 8.762 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.5569, allocations: 87.42 kB / 1.475 GB, free: 8.676 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/0.5621, allocations: 0.845 MB / 1.476 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5621, allocations: 4 kB / 1.476 GB, free: 7.812 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5621, allocations: 4 kB / 1.476 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.5622, allocations: 4 kB / 1.476 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.5629, allocations: 499.3 kB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5629, allocations: 4 kB / 1.476 GB, free: 7.281 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.5632, allocations: 55.91 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.5644, allocations: 176.6 kB / 1.476 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.5645, allocations: 19.92 kB / 1.476 GB, free: 7.031 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009144/0.5736, allocations: 2.154 MB / 1.479 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5736, allocations: 0 / 1.479 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005088/0.5787, allocations: 0.8148 MB / 1.479 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.5788, allocations: 83.31 kB / 1.479 GB, free: 3.852 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.5789, allocations: 19.98 kB / 1.479 GB, free: 3.832 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.5794, allocations: 23.98 kB / 1.48 GB, free: 3.809 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.5795, allocations: 31.94 kB / 1.48 GB, free: 3.777 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.5796, allocations: 23.92 kB / 1.48 GB, free: 3.754 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001169/0.5808, allocations: 1.022 MB / 1.481 GB, free: 2.734 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5808, allocations: 0 / 1.481 GB, free: 2.734 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005296/0.5813, allocations: 127.8 kB / 1.481 GB, free: 2.609 MB / 1.17 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 (38): * Single equations (assignments): 33 * 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.001743/0.583, allocations: 470.5 kB / 1.481 GB, free: 2.328 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.585, allocations: 0.553 MB / 1.482 GB, free: 1.762 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.585, allocations: 0 / 1.482 GB, free: 1.762 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.5861, allocations: 362.4 kB / 1.482 GB, free: 1.395 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.5867, allocations: 115.2 kB / 1.482 GB, free: 1.293 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.5896, allocations: 1.654 MB / 1.484 GB, free: 15.6 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.59, allocations: 384.2 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.5903, allocations: 90.84 kB / 1.484 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.5905, allocations: 43.41 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/0.5905, allocations: 0 / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of Templates: time 0.01996/0.6104, allocations: 11.54 MB / 1.496 GB, free: 3.652 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.37407318300393]