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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.993/1.993, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 199 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009577/0.0009578, allocations: 113.6 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009626/0.0009627, allocations: 50.5 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2316, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003007/0.2346, allocations: 2.259 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1222/0.3569, allocations: 148.3 MB / 1.365 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.3571, allocations: 3.938 kB / 1.365 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000797/0.3579, allocations: 0.7798 MB / 1.366 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.3584, allocations: 474.8 kB / 1.366 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.3592, allocations: 343.1 kB / 1.367 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.3596, allocations: 0.5537 MB / 1.367 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3598, allocations: 76.7 kB / 1.367 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.3611, allocations: 331.7 kB / 1.368 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.3615, allocations: 467.8 kB / 1.368 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.3616, allocations: 12 kB / 1.368 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.3621, allocations: 291.6 kB / 1.368 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.3622, allocations: 187.6 kB / 1.368 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.3624, allocations: 249.9 kB / 1.369 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.3631, allocations: 0.7103 MB / 1.369 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3631, allocations: 0 / 1.369 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3631, allocations: 0 / 1.369 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.3631, allocations: 4 kB / 1.369 GB, free: 9.766 MB / 0.8698 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.001437/0.3646, allocations: 1.069 MB / 1.37 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3646, allocations: 15.98 kB / 1.37 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.366, allocations: 198.7 kB / 1.371 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.3665, allocations: 486.7 kB / 1.371 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3665, allocations: 20.31 kB / 1.371 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.3666, allocations: 16 kB / 1.371 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.3674, allocations: 334.9 kB / 1.371 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3674, allocations: 0 / 1.371 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.3674, allocations: 8 kB / 1.371 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3674, allocations: 8 kB / 1.371 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3686, allocations: 341.3 kB / 1.372 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.3704, allocations: 1.109 MB / 1.373 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3715, allocations: 408.7 kB / 1.373 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.3721, allocations: 213.5 kB / 1.373 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.3721, allocations: 4 kB / 1.373 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007254/0.3729, allocations: 309.8 kB / 1.374 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.3729, allocations: 4 kB / 1.374 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.007739/0.3806, allocations: 1.214 MB / 1.375 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3807, allocations: 85.11 kB / 1.375 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.3818, allocations: 1.349 MB / 1.376 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.3818, allocations: 33.7 kB / 1.376 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.3821, allocations: 360.5 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.3822, allocations: 106.6 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3823, allocations: 69.67 kB / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.3824, allocations: 318 kB / 1.377 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.383, allocations: 167.9 kB / 1.377 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.3836, allocations: 241.6 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3847, allocations: 394 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3847, allocations: 0 / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003522/0.3883, allocations: 0.7135 MB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3883, allocations: 5.094 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3883, allocations: 4.312 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/0.3893, allocations: 176.7 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.3896, allocations: 67.89 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/0.3962, allocations: 2.113 MB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.3967, allocations: 43.78 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3967, allocations: 15.98 kB / 1.381 GB, free: 13.38 MB / 0.8855 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.0002933/0.397, allocations: 293.7 kB / 1.381 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/0.3971, allocations: 78.97 kB / 1.381 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.4008, allocations: 0.761 MB / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4008, allocations: 8 kB / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4008, allocations: 0 / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4008, allocations: 4 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.4013, allocations: 0.5662 MB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4013, allocations: 3.984 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.4016, allocations: 51.91 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008894/0.4025, allocations: 180.6 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/0.4025, allocations: 11.98 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006308/0.4089, allocations: 2.111 MB / 1.385 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4089, allocations: 7.922 kB / 1.385 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/0.4133, allocations: 1.708 MB / 1.387 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.4134, allocations: 148 kB / 1.387 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.4135, allocations: 8 kB / 1.387 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.4139, allocations: 35.91 kB / 1.387 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.414, allocations: 23.97 kB / 1.387 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.414, allocations: 15.98 kB / 1.387 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008488/0.4149, allocations: 1.003 MB / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4149, allocations: 0 / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005283/0.4154, allocations: 104 kB / 1.388 GB, free: 5.984 MB / 0.8855 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.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * 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.0008886/0.4163, allocations: 443 kB / 1.388 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.4179, allocations: 0.5502 MB / 1.389 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4179, allocations: 0 / 1.389 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.4188, allocations: 362.4 kB / 1.389 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.4194, allocations: 118.6 kB / 1.389 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4217, allocations: 1.972 MB / 1.391 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.4221, allocations: 0.9801 MB / 1.392 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003285/0.4225, allocations: 86.86 kB / 1.392 GB, free: 1.551 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.4226, allocations: 47.41 kB / 1.392 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of SimCode: time 3.4e-07/0.4226, allocations: 3.938 kB / 1.392 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.01514/0.4378, allocations: 10.08 MB / 1.402 GB, free: 7.477 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (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=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)