Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001403/0.001403, 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.001513/0.001513, allocations: 211.7 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002345/0.002345, allocations: 68.59 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.32, allocations: 169.9 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003794/0.3238, allocations: 2.148 MB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.4984, allocations: 132.4 MB / 1.414 GB, free: 4.984 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.4987, allocations: 11.94 kB / 1.414 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.4998, allocations: 0.7912 MB / 1.415 GB, free: 4.18 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0009616/0.5008, allocations: 0.5141 MB / 1.416 GB, free: 3.664 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.5017, allocations: 346.8 kB / 1.416 GB, free: 3.324 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007631/0.5025, allocations: 0.5888 MB / 1.417 GB, free: 2.734 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.5026, allocations: 48.91 kB / 1.417 GB, free: 2.691 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.5039, allocations: 376.2 kB / 1.417 GB, free: 2.336 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006016/0.5045, allocations: 0.519 MB / 1.417 GB, free: 1.816 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.5045, allocations: 31.94 kB / 1.417 GB, free: 1.785 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.5052, allocations: 287.6 kB / 1.418 GB, free: 1.504 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.5054, allocations: 195.5 kB / 1.418 GB, free: 1.312 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.5056, allocations: 198.4 kB / 1.418 GB, free: 1.117 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009936/0.5066, allocations: 0.7622 MB / 1.419 GB, free: 360 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5066, allocations: 0 / 1.419 GB, free: 360 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5066, allocations: 4 kB / 1.419 GB, free: 356 kB / 1.107 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.5066, allocations: 0 / 1.419 GB, free: 356 kB / 1.107 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.001754/0.5083, allocations: 1.047 MB / 1.42 GB, free: 15.26 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5084, allocations: 8.031 kB / 1.42 GB, free: 15.25 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.51, allocations: 215.2 kB / 1.42 GB, free: 15.04 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.5107, allocations: 429.3 kB / 1.421 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.5107, allocations: 20.36 kB / 1.421 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.5108, allocations: 19.98 kB / 1.421 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/0.5118, allocations: 346.7 kB / 1.421 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5118, allocations: 0 / 1.421 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.5118, allocations: 8 kB / 1.421 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5118, allocations: 4 kB / 1.421 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5131, allocations: 356.7 kB / 1.421 GB, free: 13.85 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.5154, allocations: 1.022 MB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.5166, allocations: 407.6 kB / 1.423 GB, free: 12.37 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/0.5173, allocations: 193.6 kB / 1.423 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.5173, allocations: 4 kB / 1.423 GB, free: 12.17 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000889/0.5182, allocations: 322.4 kB / 1.423 GB, free: 11.84 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.5182, allocations: 0 / 1.423 GB, free: 11.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.008723/0.5269, allocations: 1.168 MB / 1.424 GB, free: 10.66 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.527, allocations: 85.11 kB / 1.424 GB, free: 10.56 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.5287, allocations: 1.376 MB / 1.426 GB, free: 9.18 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.5288, allocations: 33.7 kB / 1.426 GB, free: 9.141 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.5291, allocations: 364.5 kB / 1.426 GB, free: 8.781 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.5292, allocations: 107.1 kB / 1.426 GB, free: 8.676 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5294, allocations: 69.62 kB / 1.426 GB, free: 8.602 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5295, allocations: 318 kB / 1.427 GB, free: 8.285 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/0.5302, allocations: 191.7 kB / 1.427 GB, free: 8.098 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.531, allocations: 281.3 kB / 1.427 GB, free: 7.789 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.5323, allocations: 415.2 kB / 1.427 GB, free: 7.371 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5323, allocations: 0 / 1.427 GB, free: 7.371 MB / 1.123 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003966/0.5363, allocations: 0.732 MB / 1.428 GB, free: 6.629 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5363, allocations: 4 kB / 1.428 GB, free: 6.625 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.5363, allocations: 7.938 kB / 1.428 GB, free: 6.617 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.5374, allocations: 176.7 kB / 1.428 GB, free: 6.441 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.5378, allocations: 67.89 kB / 1.428 GB, free: 6.375 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007998/0.5458, allocations: 2.157 MB / 1.43 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.5463, allocations: 39.89 kB / 1.43 GB, free: 4.074 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.5464, allocations: 19.97 kB / 1.43 GB, free: 4.055 MB / 1.123 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.0004909/0.5469, allocations: 302.1 kB / 1.431 GB, free: 3.75 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5471, allocations: 83.44 kB / 1.431 GB, free: 3.668 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.5514, allocations: 0.8529 MB / 1.432 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5514, allocations: 7.984 kB / 1.432 GB, free: 2.789 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5514, allocations: 0 / 1.432 GB, free: 2.789 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5515, allocations: 4 kB / 1.432 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007058/0.5522, allocations: 495.4 kB / 1.432 GB, free: 2.273 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5522, allocations: 0 / 1.432 GB, free: 2.273 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.5525, allocations: 59.91 kB / 1.432 GB, free: 2.215 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009851/0.5535, allocations: 180.6 kB / 1.432 GB, free: 2.035 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.5535, allocations: 11.98 kB / 1.432 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008019/0.5616, allocations: 2.162 MB / 1.435 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5616, allocations: 0 / 1.435 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/0.566, allocations: 0.8029 MB / 1.435 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.5663, allocations: 83.27 kB / 1.435 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.5664, allocations: 8 kB / 1.435 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.567, allocations: 27.97 kB / 1.435 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5671, allocations: 35.88 kB / 1.435 GB, free: 14.78 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.953e-05/0.5671, allocations: 23.97 kB / 1.435 GB, free: 14.76 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001402/0.5685, allocations: 1.034 MB / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5685, allocations: 0 / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006089/0.5691, allocations: 111.9 kB / 1.437 GB, free: 13.62 MB / 1.139 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.001852/0.571, allocations: 471.8 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.5729, allocations: 0.5569 MB / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5729, allocations: 0 / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.5739, allocations: 358.4 kB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007102/0.5747, allocations: 119.2 kB / 1.438 GB, free: 12.29 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.5776, allocations: 1.653 MB / 1.44 GB, free: 10.61 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.5781, allocations: 379.5 kB / 1.44 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.5784, allocations: 91.08 kB / 1.44 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.5786, allocations: 43.42 kB / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of SimCode: time 4.51e-07/0.5786, allocations: 0 / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of Templates: time 0.0207/0.5993, allocations: 11.45 MB / 1.451 GB, free: 14.75 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.247213426977396]