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.001395/0.001395, allocations: 81.58 kB / 19.18 MB, free: 2.527 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.001617/0.001617, allocations: 164.3 kB / 22.46 MB, free: 5.359 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.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.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 2.899/2.899, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.906e-05, allocations: 6.219 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004421/0.00445, allocations: 2.143 MB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1859/0.1904, allocations: 132.4 MB / 1.131 GB, free: 304 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.1908, allocations: 7.938 kB / 1.131 GB, free: 296 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.6393/0.8301, allocations: 0.7827 MB / 1.132 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.8311, allocations: 0.5259 MB / 1.133 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.8321, allocations: 347.8 kB / 1.133 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.8327, allocations: 0.5974 MB / 1.134 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.8329, allocations: 58.47 kB / 1.134 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.8342, allocations: 426.2 kB / 1.134 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.8347, allocations: 0.4971 MB / 1.135 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.8347, allocations: 26.45 kB / 1.135 GB, free: 45.53 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005549/0.8353, allocations: 287.1 kB / 1.135 GB, free: 45.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.8355, allocations: 200.3 kB / 1.135 GB, free: 45.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.8357, allocations: 130.9 kB / 1.135 GB, free: 45.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008458/0.8365, allocations: 0.7625 MB / 1.136 GB, free: 45.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8365, allocations: 0 / 1.136 GB, free: 45.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8365, allocations: 2.281 kB / 1.136 GB, free: 45.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8365, allocations: 3.234 kB / 1.136 GB, free: 45.46 MB / 1.076 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.001528/0.838, allocations: 1.03 MB / 1.137 GB, free: 44.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8381, allocations: 14.3 kB / 1.137 GB, free: 44.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.8401, allocations: 226.5 kB / 1.137 GB, free: 44.74 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.8406, allocations: 435.3 kB / 1.138 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.8407, allocations: 21.05 kB / 1.138 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.8407, allocations: 19.81 kB / 1.138 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009653/0.8417, allocations: 338.8 kB / 1.138 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.8417, allocations: 0 / 1.138 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.8417, allocations: 6.469 kB / 1.138 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.8417, allocations: 6.344 kB / 1.138 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.8431, allocations: 361.9 kB / 1.138 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.8452, allocations: 1.013 MB / 1.139 GB, free: 44.03 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.8464, allocations: 407.7 kB / 1.14 GB, free: 43.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.847, allocations: 199 kB / 1.14 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.8471, allocations: 7.656 kB / 1.14 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008417/0.8479, allocations: 315.3 kB / 1.14 GB, free: 43.9 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.8479, allocations: 0 / 1.14 GB, free: 43.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.0094/0.8573, allocations: 1.173 MB / 1.141 GB, free: 43.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.8574, allocations: 84.14 kB / 1.141 GB, free: 43.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.8588, allocations: 1.381 MB / 1.143 GB, free: 43.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.8589, allocations: 36.14 kB / 1.143 GB, free: 43.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.8591, allocations: 366.1 kB / 1.143 GB, free: 43.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/0.8592, allocations: 109 kB / 1.143 GB, free: 43.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.8593, allocations: 68.05 kB / 1.143 GB, free: 43.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.8594, allocations: 317 kB / 1.144 GB, free: 43.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.86, allocations: 178.8 kB / 1.144 GB, free: 43.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.8607, allocations: 291.7 kB / 1.144 GB, free: 42.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.8621, allocations: 419.2 kB / 1.145 GB, free: 42.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8621, allocations: 0.9375 kB / 1.145 GB, free: 42.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004258/0.8663, allocations: 0.7396 MB / 1.145 GB, free: 42.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.8664, allocations: 5.312 kB / 1.145 GB, free: 42.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8664, allocations: 3.938 kB / 1.145 GB, free: 42.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.8675, allocations: 177.4 kB / 1.145 GB, free: 42.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.8679, allocations: 69.81 kB / 1.145 GB, free: 42.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.8759, allocations: 2.156 MB / 1.148 GB, free: 41.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.8766, allocations: 45.89 kB / 1.148 GB, free: 41.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.8767, allocations: 16.44 kB / 1.148 GB, free: 41.61 MB / 1.076 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.0005133/0.8772, allocations: 299.8 kB / 1.148 GB, free: 41.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.8774, allocations: 83.16 kB / 1.148 GB, free: 41.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.8819, allocations: 0.8503 MB / 1.149 GB, free: 41.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.8819, allocations: 6.344 kB / 1.149 GB, free: 41.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8819, allocations: 4.641 kB / 1.149 GB, free: 41.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.882, allocations: 2.688 kB / 1.149 GB, free: 41.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.8828, allocations: 493.8 kB / 1.149 GB, free: 41.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.8828, allocations: 0.9062 kB / 1.149 GB, free: 41.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.8832, allocations: 60.88 kB / 1.149 GB, free: 41.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009939/0.8842, allocations: 178.1 kB / 1.15 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.8842, allocations: 18.81 kB / 1.15 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007639/0.8919, allocations: 2.148 MB / 1.152 GB, free: 40.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8919, allocations: 0.9375 kB / 1.152 GB, free: 40.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/0.8964, allocations: 0.8045 MB / 1.152 GB, free: 39.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.8966, allocations: 91.81 kB / 1.153 GB, free: 39.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.8967, allocations: 7.312 kB / 1.153 GB, free: 39.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.8972, allocations: 27.19 kB / 1.153 GB, free: 39.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.8974, allocations: 28.48 kB / 1.153 GB, free: 39.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.8974, allocations: 18.59 kB / 1.153 GB, free: 39.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001257/0.8987, allocations: 1.03 MB / 1.154 GB, free: 39.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8987, allocations: 0.6562 kB / 1.154 GB, free: 39.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006492/0.8993, allocations: 126.3 kB / 1.154 GB, free: 39.76 MB / 1.076 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.001845/0.9012, allocations: 466.9 kB / 1.154 GB, free: 39.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.9031, allocations: 0.5536 MB / 1.155 GB, free: 39.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9031, allocations: 0.9062 kB / 1.155 GB, free: 39.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.9041, allocations: 364.8 kB / 1.155 GB, free: 39.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.9048, allocations: 125.4 kB / 1.155 GB, free: 39.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.9078, allocations: 1.629 MB / 1.157 GB, free: 38.87 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.9083, allocations: 380.6 kB / 1.157 GB, free: 38.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.9086, allocations: 84.89 kB / 1.157 GB, free: 38.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.9088, allocations: 44.62 kB / 1.157 GB, free: 38.77 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/0.9088, allocations: 3.938 kB / 1.157 GB, free: 38.77 MB / 1.076 GB Notification: Performance of Templates: time 0.02553/0.9343, allocations: 10.48 MB / 1.168 GB, free: 37.73 MB / 1.076 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.199653927236795]