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.001163/0.001163, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001374/0.001374, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9301/0.9301, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.78/1.78, allocations: 377.9 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.9821 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.063e-05, allocations: 9.453 kB / 0.9821 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002771/0.002802, allocations: 2.152 MB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5997/0.6025, allocations: 132.4 MB / 1.114 GB, free: 22.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.6028, allocations: 6.656 kB / 1.114 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.6044, allocations: 0.7886 MB / 1.114 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.6058, allocations: 0.5308 MB / 1.115 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.6069, allocations: 341.8 kB / 1.115 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008903/0.6078, allocations: 0.5986 MB / 1.116 GB, free: 21.6 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.608, allocations: 59.55 kB / 1.116 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.6091, allocations: 430.2 kB / 1.116 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.6097, allocations: 0.4941 MB / 1.117 GB, free: 21.4 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.6097, allocations: 25 kB / 1.117 GB, free: 21.4 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005858/0.6103, allocations: 298.7 kB / 1.117 GB, free: 21.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.6104, allocations: 193.3 kB / 1.117 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.6106, allocations: 134.2 kB / 1.117 GB, free: 21.17 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.6114, allocations: 0.7583 MB / 1.118 GB, free: 20.89 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6114, allocations: 4.797 kB / 1.118 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6114, allocations: 0.9375 kB / 1.118 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.6114, allocations: 0 / 1.118 GB, free: 20.88 MB / 0.9948 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.001087/0.6125, allocations: 1.034 MB / 1.119 GB, free: 20.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.6125, allocations: 9.25 kB / 1.119 GB, free: 20.14 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.6134, allocations: 214.5 kB / 1.119 GB, free: 20.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.6138, allocations: 439.1 kB / 1.12 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.6138, allocations: 18.02 kB / 1.12 GB, free: 19.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.6138, allocations: 16.38 kB / 1.12 GB, free: 19.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.6144, allocations: 343.2 kB / 1.12 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6144, allocations: 0.6562 kB / 1.12 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.6145, allocations: 10.25 kB / 1.12 GB, free: 19.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.6145, allocations: 9.328 kB / 1.12 GB, free: 19.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.6152, allocations: 349.1 kB / 1.12 GB, free: 19.51 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.6165, allocations: 1.01 MB / 1.121 GB, free: 18.92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.6172, allocations: 400.7 kB / 1.122 GB, free: 18.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.6176, allocations: 203.2 kB / 1.122 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.6176, allocations: 3.5 kB / 1.122 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005156/0.6181, allocations: 310.3 kB / 1.122 GB, free: 18.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 3.216e-06/0.6181, allocations: 0 / 1.122 GB, free: 18.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.004347/0.6225, allocations: 1.169 MB / 1.123 GB, free: 18.25 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.6225, allocations: 86.03 kB / 1.123 GB, free: 18.15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.6238, allocations: 1.38 MB / 1.125 GB, free: 17.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.6239, allocations: 31.86 kB / 1.125 GB, free: 17.65 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.6241, allocations: 376.9 kB / 1.125 GB, free: 17.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.6241, allocations: 100.9 kB / 1.125 GB, free: 17.28 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.6242, allocations: 68.06 kB / 1.125 GB, free: 17.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.6242, allocations: 319.1 kB / 1.126 GB, free: 16.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.6246, allocations: 179.4 kB / 1.126 GB, free: 16.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.625, allocations: 293 kB / 1.126 GB, free: 16.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.6257, allocations: 409.6 kB / 1.127 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6257, allocations: 4 kB / 1.127 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001929/0.6276, allocations: 0.7292 MB / 1.127 GB, free: 16.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6276, allocations: 6.297 kB / 1.127 GB, free: 16.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6276, allocations: 1.375 kB / 1.127 GB, free: 16.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/0.6282, allocations: 179.3 kB / 1.127 GB, free: 16.24 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.6284, allocations: 60.41 kB / 1.127 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.6323, allocations: 2.163 MB / 1.13 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.6327, allocations: 44.34 kB / 1.13 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.6327, allocations: 21.62 kB / 1.13 GB, free: 14.8 MB / 0.9948 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.0004619/0.6332, allocations: 297.3 kB / 1.13 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.6333, allocations: 89.88 kB / 1.13 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.6355, allocations: 0.8483 MB / 1.131 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.6355, allocations: 3.688 kB / 1.131 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6355, allocations: 5.156 kB / 1.131 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6355, allocations: 3.141 kB / 1.131 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.6361, allocations: 0.4911 MB / 1.131 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6361, allocations: 1.875 kB / 1.131 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.6362, allocations: 60.41 kB / 1.131 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/0.6368, allocations: 178.5 kB / 1.132 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.6368, allocations: 14.38 kB / 1.132 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/0.6404, allocations: 2.142 MB / 1.134 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6404, allocations: 5.188 kB / 1.134 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.6426, allocations: 0.8108 MB / 1.134 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6427, allocations: 81.75 kB / 1.135 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.6427, allocations: 11.67 kB / 1.135 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.6429, allocations: 25.66 kB / 1.135 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.643, allocations: 28.17 kB / 1.135 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.6431, allocations: 20.22 kB / 1.135 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00101/0.6441, allocations: 1.025 MB / 1.136 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6441, allocations: 4 kB / 1.136 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005058/0.6446, allocations: 127.9 kB / 1.136 GB, free: 11.84 MB / 0.9948 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.0008481/0.6454, allocations: 468.5 kB / 1.136 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.6466, allocations: 0.556 MB / 1.137 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6466, allocations: 0 / 1.137 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.6471, allocations: 363 kB / 1.137 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.6476, allocations: 129.4 kB / 1.137 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.6497, allocations: 1.689 MB / 1.139 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.65, allocations: 378.4 kB / 1.139 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.6501, allocations: 54.59 kB / 1.139 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of SimCode: time 1.062e-06/0.6501, allocations: 0 / 1.139 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of Templates: time 0.01576/0.6659, allocations: 11.64 MB / 1.151 GB, free: 8.652 MB / 0.9948 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 -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/jenkins/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: 8.018788629211485]