Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 113.4 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 188.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2023, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003444/0.2058, allocations: 2.215 MB / 0.787 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5219/0.7277, allocations: 150.4 MB / 0.9338 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.728, allocations: 3.938 kB / 0.9339 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008716/0.7289, allocations: 0.7763 MB / 0.9346 GB, free: 0.6953 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.7297, allocations: 498.6 kB / 0.9351 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.7306, allocations: 363.9 kB / 0.9354 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.7313, allocations: 0.5654 MB / 0.936 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.7315, allocations: 94.12 kB / 0.9361 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.7328, allocations: 351.2 kB / 0.9364 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005581/0.7333, allocations: 479.7 kB / 0.9369 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.7334, allocations: 24 kB / 0.9369 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.734, allocations: 303.5 kB / 0.9372 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.7341, allocations: 187.7 kB / 0.9374 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.7343, allocations: 258 kB / 0.9376 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007381/0.7351, allocations: 0.7356 MB / 0.9383 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.7351, allocations: 0 / 0.9383 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7351, allocations: 0 / 0.9383 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7351, allocations: 0 / 0.9383 GB, free: 12.91 MB / 0.7325 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.001435/0.7366, allocations: 1.079 MB / 0.9394 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7366, allocations: 12.03 kB / 0.9394 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.738, allocations: 194.7 kB / 0.9396 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.7386, allocations: 0.4887 MB / 0.9401 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7386, allocations: 16.36 kB / 0.9401 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.7386, allocations: 20 kB / 0.9401 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.7395, allocations: 335.4 kB / 0.9404 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7395, allocations: 0 / 0.9404 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.7395, allocations: 12 kB / 0.9404 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7395, allocations: 4 kB / 0.9404 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.7407, allocations: 336.7 kB / 0.9407 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.7426, allocations: 1.105 MB / 0.9418 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.7437, allocations: 397.9 kB / 0.9422 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.7443, allocations: 212.4 kB / 0.9424 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.7443, allocations: 8 kB / 0.9424 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007829/0.7451, allocations: 307.9 kB / 0.9427 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.7451, allocations: 0 / 0.9427 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008194/0.7533, allocations: 1.221 MB / 0.9439 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.7534, allocations: 77.95 kB / 0.944 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.7546, allocations: 1.349 MB / 0.9453 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.7547, allocations: 33.7 kB / 0.9453 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.755, allocations: 372.4 kB / 0.9457 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.7551, allocations: 90.7 kB / 0.9458 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.7552, allocations: 69.66 kB / 0.9458 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.7553, allocations: 322 kB / 0.9461 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/0.7559, allocations: 171.9 kB / 0.9463 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/0.7565, allocations: 235.2 kB / 0.9465 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.7578, allocations: 395.3 kB / 0.9469 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7578, allocations: 3.938 kB / 0.9469 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003703/0.7615, allocations: 0.7079 MB / 0.9476 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7615, allocations: 12.06 kB / 0.9476 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7615, allocations: 0 / 0.9476 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009882/0.7625, allocations: 180.6 kB / 0.9478 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.7628, allocations: 59.89 kB / 0.9478 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007174/0.77, allocations: 2.3 MB / 0.9501 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.7705, allocations: 51.78 kB / 0.9501 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.7705, allocations: 11.98 kB / 0.9501 GB, free: 356 kB / 0.7325 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.0002996/0.7708, allocations: 302.1 kB / 0.9504 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.7709, allocations: 84.48 kB / 0.9505 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/0.7747, allocations: 0.7462 MB / 0.9512 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7748, allocations: 3.938 kB / 0.9512 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.7748, allocations: 4 kB / 0.9512 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.7749, allocations: 144 kB / 0.9514 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.7749, allocations: 8 kB / 0.9514 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.7754, allocations: 29.19 kB / 0.9514 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.7754, allocations: 31.91 kB / 0.9515 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003571/0.779, allocations: 0.8051 MB / 0.9522 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002121/0.7811, allocations: 0.9993 MB / 0.9532 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006199/0.7818, allocations: 206 kB / 0.9534 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008954/0.7827, allocations: 1.003 MB / 0.9544 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of Backend: time 3.2e-07/0.7827, allocations: 0 / 0.9544 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002498/0.7852, allocations: 0.9949 MB / 0.9554 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of SimCode: time 0.00188/0.7871, allocations: 1.762 MB / 0.9571 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of Templates: time 0.01445/0.8015, allocations: 9.571 MB / 0.9664 GB, free: 15.87 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)