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.001478/0.001478, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001534/0.001534, allocations: 218.2 kB / 23.01 MB, free: 4.605 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.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 3.201/3.201, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] 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.002033/0.002033, allocations: 66.02 kB / 1.178 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.376, allocations: 180.2 MB / 1.354 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00379/0.3798, allocations: 2.261 MB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1887/0.5685, allocations: 154 MB / 1.507 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.5688, allocations: 11.88 kB / 1.507 GB, free: 11.23 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.5698, allocations: 0.7717 MB / 1.507 GB, free: 10.46 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0009066/0.5707, allocations: 0.5258 MB / 1.508 GB, free: 9.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/0.5717, allocations: 342.7 kB / 1.508 GB, free: 9.594 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.5724, allocations: 0.5849 MB / 1.509 GB, free: 9.004 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.5726, allocations: 60.88 kB / 1.509 GB, free: 8.949 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.5739, allocations: 374.1 kB / 1.509 GB, free: 8.598 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006316/0.5745, allocations: 0.5347 MB / 1.51 GB, free: 8.062 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.5746, allocations: 28 kB / 1.51 GB, free: 8.035 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006868/0.5753, allocations: 311.5 kB / 1.51 GB, free: 7.73 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.5755, allocations: 191.7 kB / 1.51 GB, free: 7.543 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.5757, allocations: 261.9 kB / 1.51 GB, free: 7.285 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.5767, allocations: 0.7582 MB / 1.511 GB, free: 6.523 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.5767, allocations: 7.984 kB / 1.511 GB, free: 6.516 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5767, allocations: 0 / 1.511 GB, free: 6.516 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.5767, allocations: 0 / 1.511 GB, free: 6.516 MB / 1.201 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.0017/0.5784, allocations: 1.035 MB / 1.512 GB, free: 5.445 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5785, allocations: 12.03 kB / 1.512 GB, free: 5.434 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.5804, allocations: 235.2 kB / 1.512 GB, free: 5.203 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.5811, allocations: 440.3 kB / 1.513 GB, free: 4.742 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.5811, allocations: 16.38 kB / 1.513 GB, free: 4.727 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.5812, allocations: 20 kB / 1.513 GB, free: 4.707 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.5821, allocations: 342.9 kB / 1.513 GB, free: 4.355 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5821, allocations: 0 / 1.513 GB, free: 4.355 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.5821, allocations: 11.98 kB / 1.513 GB, free: 4.344 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5821, allocations: 7.984 kB / 1.513 GB, free: 4.336 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.5834, allocations: 344.6 kB / 1.514 GB, free: 4 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.5857, allocations: 1.1 MB / 1.515 GB, free: 2.852 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.5868, allocations: 390.5 kB / 1.515 GB, free: 2.453 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/0.5875, allocations: 189.6 kB / 1.515 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.462e-05/0.5875, allocations: 11.98 kB / 1.515 GB, free: 2.25 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008508/0.5884, allocations: 304.8 kB / 1.516 GB, free: 1.934 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.033e-06/0.5884, allocations: 0 / 1.516 GB, free: 1.934 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.008906/0.5973, allocations: 1.162 MB / 1.517 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.5974, allocations: 85.05 kB / 1.517 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.599, allocations: 1.361 MB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.5991, allocations: 33.7 kB / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.5995, allocations: 372.5 kB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5996, allocations: 103.2 kB / 1.519 GB, free: 14.78 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5997, allocations: 65.67 kB / 1.519 GB, free: 14.71 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5999, allocations: 322 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.6005, allocations: 171.7 kB / 1.519 GB, free: 14.22 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.6012, allocations: 233.9 kB / 1.519 GB, free: 13.97 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.6025, allocations: 400 kB / 1.52 GB, free: 13.57 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6025, allocations: 0 / 1.52 GB, free: 13.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004009/0.6065, allocations: 0.7209 MB / 1.52 GB, free: 12.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6065, allocations: 4 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6065, allocations: 4 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.6076, allocations: 180.7 kB / 1.521 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.608, allocations: 63.89 kB / 1.521 GB, free: 12.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/0.6159, allocations: 2.208 MB / 1.523 GB, free: 10.26 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.6165, allocations: 35.83 kB / 1.523 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.6165, allocations: 11.98 kB / 1.523 GB, free: 10.21 MB / 1.217 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.0004273/0.617, allocations: 311.2 kB / 1.523 GB, free: 9.902 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.6171, allocations: 87.38 kB / 1.523 GB, free: 9.816 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/0.6215, allocations: 0.8094 MB / 1.524 GB, free: 8.996 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.6215, allocations: 4 kB / 1.524 GB, free: 8.992 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6215, allocations: 8 kB / 1.524 GB, free: 8.984 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6215, allocations: 3.984 kB / 1.524 GB, free: 8.98 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007545/0.6222, allocations: 0.5573 MB / 1.525 GB, free: 8.379 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6222, allocations: 0 / 1.525 GB, free: 8.379 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.6226, allocations: 47.91 kB / 1.525 GB, free: 8.332 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000992/0.6236, allocations: 180.6 kB / 1.525 GB, free: 8.152 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.6236, allocations: 11.98 kB / 1.525 GB, free: 8.141 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007588/0.6312, allocations: 2.188 MB / 1.527 GB, free: 5.836 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6312, allocations: 3.938 kB / 1.527 GB, free: 5.832 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.6354, allocations: 0.7636 MB / 1.528 GB, free: 5.043 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.6356, allocations: 83.36 kB / 1.528 GB, free: 4.961 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.6356, allocations: 11.94 kB / 1.528 GB, free: 4.949 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.6361, allocations: 27.97 kB / 1.528 GB, free: 4.922 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.6362, allocations: 20.03 kB / 1.528 GB, free: 4.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.6362, allocations: 23.97 kB / 1.528 GB, free: 4.879 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001106/0.6373, allocations: 1.014 MB / 1.529 GB, free: 3.867 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6373, allocations: 0 / 1.529 GB, free: 3.867 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005256/0.6378, allocations: 107.9 kB / 1.529 GB, free: 3.762 MB / 1.217 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 (31): * Single equations (assignments): 26 * 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.00163/0.6395, allocations: 438.8 kB / 1.529 GB, free: 3.484 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.6413, allocations: 0.5452 MB / 1.53 GB, free: 2.926 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6413, allocations: 0 / 1.53 GB, free: 2.926 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000972/0.6423, allocations: 342.5 kB / 1.53 GB, free: 2.578 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.6429, allocations: 116.8 kB / 1.53 GB, free: 2.473 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.6458, allocations: 1.678 MB / 1.532 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.6464, allocations: 0.9713 MB / 1.533 GB, free: 15.76 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.6466, allocations: 43.42 kB / 1.533 GB, free: 15.72 MB / 1.233 GB Notification: Performance of SimCode: time 6.11e-07/0.6466, allocations: 4 kB / 1.533 GB, free: 15.71 MB / 1.233 GB Notification: Performance of Templates: time 0.01782/0.6644, allocations: 11.26 MB / 1.544 GB, free: 4.449 MB / 1.233 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/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: 12.603615342988633]