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.001812/0.001812, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.002235/0.002235, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.935/2.935, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] 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.002069/0.002069, allocations: 66.48 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4009, allocations: 170 MB / 1.285 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004119/0.405, allocations: 2.267 MB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.214/0.6189, allocations: 154 MB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.6192, allocations: 3.938 kB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.6205, allocations: 0.7873 MB / 1.438 GB, free: 13.74 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009153/0.6214, allocations: 0.5181 MB / 1.438 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.6224, allocations: 350.6 kB / 1.439 GB, free: 12.88 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008431/0.6233, allocations: 0.5771 MB / 1.439 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.6235, allocations: 68.81 kB / 1.439 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.6248, allocations: 370.5 kB / 1.44 GB, free: 11.88 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.6254, allocations: 0.5269 MB / 1.44 GB, free: 11.36 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.6255, allocations: 24 kB / 1.44 GB, free: 11.33 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006669/0.6262, allocations: 315.5 kB / 1.441 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.6264, allocations: 199.5 kB / 1.441 GB, free: 10.83 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.6266, allocations: 261.9 kB / 1.441 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.6277, allocations: 0.7544 MB / 1.442 GB, free: 9.812 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6277, allocations: 0 / 1.442 GB, free: 9.812 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6277, allocations: 4 kB / 1.442 GB, free: 9.809 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.6277, allocations: 0 / 1.442 GB, free: 9.809 MB / 1.139 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.001916/0.6296, allocations: 1.051 MB / 1.443 GB, free: 8.723 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6296, allocations: 8.031 kB / 1.443 GB, free: 8.715 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.6314, allocations: 219.2 kB / 1.443 GB, free: 8.5 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007567/0.6321, allocations: 440.3 kB / 1.443 GB, free: 8.039 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.6321, allocations: 16.38 kB / 1.443 GB, free: 8.023 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.6322, allocations: 27.98 kB / 1.443 GB, free: 7.996 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.6331, allocations: 338.9 kB / 1.444 GB, free: 7.648 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6331, allocations: 0 / 1.444 GB, free: 7.648 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.6332, allocations: 8 kB / 1.444 GB, free: 7.641 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.6332, allocations: 8 kB / 1.444 GB, free: 7.633 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.6345, allocations: 336.7 kB / 1.444 GB, free: 7.305 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.6369, allocations: 1.092 MB / 1.445 GB, free: 6.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.6381, allocations: 389.2 kB / 1.446 GB, free: 5.762 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.6388, allocations: 195.8 kB / 1.446 GB, free: 5.566 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.6389, allocations: 8 kB / 1.446 GB, free: 5.559 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009142/0.6398, allocations: 302.5 kB / 1.446 GB, free: 5.246 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.6398, allocations: 0 / 1.446 GB, free: 5.246 MB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.00895/0.6488, allocations: 1.146 MB / 1.447 GB, free: 4.09 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.6488, allocations: 85.11 kB / 1.447 GB, free: 3.988 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.6505, allocations: 1.357 MB / 1.449 GB, free: 2.625 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.6506, allocations: 37.69 kB / 1.449 GB, free: 2.582 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.651, allocations: 376.4 kB / 1.449 GB, free: 2.211 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6511, allocations: 103.2 kB / 1.449 GB, free: 2.109 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.6512, allocations: 69.66 kB / 1.449 GB, free: 2.035 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.6514, allocations: 318 kB / 1.449 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/0.6521, allocations: 175.7 kB / 1.45 GB, free: 1.547 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.6528, allocations: 229.8 kB / 1.45 GB, free: 1.301 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.6541, allocations: 397.7 kB / 1.45 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6541, allocations: 0 / 1.45 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004162/0.6583, allocations: 0.7195 MB / 1.451 GB, free: 176 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.6583, allocations: 10.19 kB / 1.451 GB, free: 168 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6583, allocations: 0 / 1.451 GB, free: 168 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.6594, allocations: 180.8 kB / 1.451 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.6598, allocations: 59.84 kB / 1.451 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008055/0.6679, allocations: 2.207 MB / 1.453 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.6685, allocations: 43.86 kB / 1.453 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.6685, allocations: 15.98 kB / 1.453 GB, free: 13.55 MB / 1.154 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.0004524/0.669, allocations: 298.2 kB / 1.454 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.6691, allocations: 95.31 kB / 1.454 GB, free: 13.15 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.6736, allocations: 0.8132 MB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6736, allocations: 4 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.6736, allocations: 4 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.6736, allocations: 3.984 kB / 1.455 GB, free: 12.31 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007975/0.6744, allocations: 0.5497 MB / 1.455 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6744, allocations: 3.984 kB / 1.455 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.6747, allocations: 47.91 kB / 1.455 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.6758, allocations: 176.7 kB / 1.455 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.6758, allocations: 15.97 kB / 1.455 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007903/0.6837, allocations: 2.181 MB / 1.457 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.6837, allocations: 3.938 kB / 1.457 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.688, allocations: 0.763 MB / 1.458 GB, free: 8.395 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.6881, allocations: 79.39 kB / 1.458 GB, free: 8.316 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/0.6882, allocations: 15.92 kB / 1.458 GB, free: 8.301 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.6887, allocations: 27.98 kB / 1.458 GB, free: 8.273 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/0.6887, allocations: 23.95 kB / 1.458 GB, free: 8.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.6888, allocations: 23.97 kB / 1.458 GB, free: 8.227 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001341/0.6901, allocations: 1.011 MB / 1.459 GB, free: 7.219 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6901, allocations: 0 / 1.459 GB, free: 7.219 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005312/0.6907, allocations: 115.9 kB / 1.459 GB, free: 7.105 MB / 1.154 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 (32): * Single equations (assignments): 27 * 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.001703/0.6924, allocations: 433.3 kB / 1.46 GB, free: 6.832 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.6945, allocations: 0.526 MB / 1.46 GB, free: 6.293 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6945, allocations: 0 / 1.46 GB, free: 6.293 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6955, allocations: 346.4 kB / 1.461 GB, free: 5.941 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.6962, allocations: 131.4 kB / 1.461 GB, free: 5.82 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.6991, allocations: 1.674 MB / 1.462 GB, free: 4.105 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.7, allocations: 0.9684 MB / 1.463 GB, free: 3.105 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.7001, allocations: 47.41 kB / 1.463 GB, free: 3.062 MB / 1.154 GB Notification: Performance of SimCode: time 4.51e-07/0.7001, allocations: 4 kB / 1.463 GB, free: 3.059 MB / 1.154 GB Notification: Performance of Templates: time 0.01959/0.7197, allocations: 11.28 MB / 1.474 GB, free: 7.785 MB / 1.17 GB " [Timeout remaining time 298] 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/jenkins1/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: 13.920822788000805]