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.001303/0.001303, allocations: 78.02 kB / 19.76 MB, free: 2.031 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.001371/0.001371, allocations: 156.4 kB / 23.01 MB, free: 4.945 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.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] 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 2.866/2.866, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 177] 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.002066/0.002066, allocations: 59.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7585, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003175/0.7616, allocations: 2.138 MB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1623/0.9239, allocations: 132.4 MB / 1.318 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.9241, allocations: 3.938 kB / 1.318 GB, free: 15.37 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.9252, allocations: 0.7795 MB / 1.319 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008261/0.926, allocations: 0.5297 MB / 1.319 GB, free: 14.06 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.9267, allocations: 338.8 kB / 1.32 GB, free: 13.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006453/0.9274, allocations: 0.5849 MB / 1.32 GB, free: 13.14 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.9275, allocations: 52.89 kB / 1.32 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.9287, allocations: 379.2 kB / 1.321 GB, free: 12.74 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.9293, allocations: 0.5269 MB / 1.321 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.9293, allocations: 24 kB / 1.321 GB, free: 12.19 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.9299, allocations: 291.6 kB / 1.321 GB, free: 11.9 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.9301, allocations: 191.5 kB / 1.322 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.9303, allocations: 198.4 kB / 1.322 GB, free: 11.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.9312, allocations: 0.7619 MB / 1.322 GB, free: 10.76 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.9312, allocations: 4 kB / 1.322 GB, free: 10.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9312, allocations: 0 / 1.322 GB, free: 10.75 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.9312, allocations: 0 / 1.322 GB, free: 10.75 MB / 1.17 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.001669/0.9329, allocations: 1.043 MB / 1.323 GB, free: 9.676 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.9329, allocations: 8.031 kB / 1.323 GB, free: 9.668 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.9349, allocations: 235.2 kB / 1.324 GB, free: 9.438 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.9355, allocations: 429.3 kB / 1.324 GB, free: 8.988 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.9355, allocations: 16.36 kB / 1.324 GB, free: 8.973 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.9356, allocations: 20 kB / 1.324 GB, free: 8.953 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/0.9365, allocations: 347.1 kB / 1.324 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.9366, allocations: 0 / 1.324 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.9366, allocations: 4 kB / 1.324 GB, free: 8.598 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.9366, allocations: 11.98 kB / 1.325 GB, free: 8.586 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.938, allocations: 356.7 kB / 1.325 GB, free: 8.238 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.9402, allocations: 1.026 MB / 1.326 GB, free: 7.172 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.9415, allocations: 400 kB / 1.326 GB, free: 6.766 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007429/0.9422, allocations: 205.6 kB / 1.326 GB, free: 6.559 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.9422, allocations: 0 / 1.326 GB, free: 6.559 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009103/0.9431, allocations: 322.2 kB / 1.327 GB, free: 6.227 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.9431, allocations: 0 / 1.327 GB, free: 6.227 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.00927/0.9524, allocations: 1.178 MB / 1.328 GB, free: 5.039 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.9525, allocations: 81.11 kB / 1.328 GB, free: 4.941 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.954, allocations: 1.384 MB / 1.329 GB, free: 3.551 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.9541, allocations: 29.7 kB / 1.329 GB, free: 3.516 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.9544, allocations: 368.5 kB / 1.33 GB, free: 3.148 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.9545, allocations: 103.2 kB / 1.33 GB, free: 3.047 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.9546, allocations: 69.67 kB / 1.33 GB, free: 2.973 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9548, allocations: 314 kB / 1.33 GB, free: 2.66 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.9555, allocations: 187.7 kB / 1.33 GB, free: 2.477 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007787/0.9563, allocations: 298.9 kB / 1.331 GB, free: 2.152 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.9577, allocations: 413.5 kB / 1.331 GB, free: 1.734 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9577, allocations: 0 / 1.331 GB, free: 1.734 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004277/0.962, allocations: 0.7475 MB / 1.332 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.962, allocations: 8 kB / 1.332 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.962, allocations: 0 / 1.332 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.9631, allocations: 180.7 kB / 1.332 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.9635, allocations: 63.83 kB / 1.332 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008159/0.9716, allocations: 2.157 MB / 1.334 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.9721, allocations: 51.86 kB / 1.334 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.9722, allocations: 19.95 kB / 1.334 GB, free: 14.39 MB / 1.186 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.0003533/0.9725, allocations: 298.2 kB / 1.334 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.9727, allocations: 87.44 kB / 1.335 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/0.9772, allocations: 0.8491 MB / 1.335 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.9772, allocations: 4 kB / 1.335 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.9772, allocations: 0 / 1.335 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.9772, allocations: 3.984 kB / 1.335 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/0.9778, allocations: 495.7 kB / 1.336 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.9778, allocations: 4 kB / 1.336 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.9782, allocations: 55.91 kB / 1.336 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.9792, allocations: 180.6 kB / 1.336 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.9792, allocations: 15.92 kB / 1.336 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007965/0.9872, allocations: 2.15 MB / 1.338 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9872, allocations: 0 / 1.338 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.9915, allocations: 0.8097 MB / 1.339 GB, free: 9.281 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.9916, allocations: 75.31 kB / 1.339 GB, free: 9.207 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.9916, allocations: 8 kB / 1.339 GB, free: 9.199 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.9921, allocations: 31.97 kB / 1.339 GB, free: 9.168 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.9922, allocations: 27.95 kB / 1.339 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.9922, allocations: 23.91 kB / 1.339 GB, free: 9.117 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00112/0.9934, allocations: 1.03 MB / 1.34 GB, free: 8.09 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9934, allocations: 0 / 1.34 GB, free: 8.09 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004793/0.9938, allocations: 115.8 kB / 1.34 GB, free: 7.977 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.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.001702/0.9955, allocations: 467 kB / 1.341 GB, free: 7.699 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.9974, allocations: 0.5584 MB / 1.341 GB, free: 7.129 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9974, allocations: 0 / 1.341 GB, free: 7.129 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.9984, allocations: 366.7 kB / 1.342 GB, free: 6.758 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.9991, allocations: 122.3 kB / 1.342 GB, free: 6.645 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/1.002, allocations: 1.638 MB / 1.343 GB, free: 4.969 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/1.002, allocations: 383.5 kB / 1.344 GB, free: 4.57 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000308/1.002, allocations: 95.11 kB / 1.344 GB, free: 4.477 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/1.003, allocations: 48.42 kB / 1.344 GB, free: 4.426 MB / 1.186 GB Notification: Performance of SimCode: time 3.71e-07/1.003, allocations: 4 kB / 1.344 GB, free: 4.422 MB / 1.186 GB Notification: Performance of Templates: time 0.01869/1.021, allocations: 10.62 MB / 1.354 GB, free: 9.918 MB / 1.201 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 -s ida -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/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: 8.901484312023968]