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.001415/0.001415, allocations: 100.3 kB / 16.35 MB, free: 6.348 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.001662/0.001662, allocations: 196.8 kB / 17.29 MB, free: 5.93 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.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.718/1.718, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001422/0.001422, allocations: 60.47 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1864, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003483/0.1899, allocations: 2.2 MB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.46/0.65, allocations: 150.4 MB / 0.9338 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.6502, allocations: 7.938 kB / 0.9338 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008377/0.6511, allocations: 0.7796 MB / 0.9346 GB, free: 0.7188 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.0006402/0.6517, allocations: 498.6 kB / 0.9351 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.6525, allocations: 357.9 kB / 0.9354 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.653, allocations: 0.5733 MB / 0.936 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.6532, allocations: 84.14 kB / 0.936 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009114/0.6541, allocations: 354.6 kB / 0.9364 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.6546, allocations: 475.7 kB / 0.9368 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.6547, allocations: 31.94 kB / 0.9369 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.6552, allocations: 303.5 kB / 0.9372 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.6553, allocations: 187.7 kB / 0.9373 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.6555, allocations: 254 kB / 0.9376 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007198/0.6563, allocations: 0.7355 MB / 0.9383 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6563, allocations: 4 kB / 0.9383 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6563, allocations: 0 / 0.9383 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.6563, allocations: 0 / 0.9383 GB, free: 12.94 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.001448/0.6578, allocations: 1.075 MB / 0.9393 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.6578, allocations: 11.97 kB / 0.9394 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.6593, allocations: 202.7 kB / 0.9396 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.6599, allocations: 482.8 kB / 0.94 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.6599, allocations: 12.38 kB / 0.94 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.66, allocations: 21.44 kB / 0.94 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.6609, allocations: 334.9 kB / 0.9404 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6609, allocations: 0 / 0.9404 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.6609, allocations: 7.984 kB / 0.9404 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.6609, allocations: 8 kB / 0.9404 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.6622, allocations: 336.7 kB / 0.9407 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.6642, allocations: 1.109 MB / 0.9418 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.6653, allocations: 398.5 kB / 0.9422 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006491/0.666, allocations: 214.6 kB / 0.9424 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.666, allocations: 11.92 kB / 0.9424 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007903/0.6668, allocations: 306.5 kB / 0.9427 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.6668, allocations: 0 / 0.9427 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008624/0.6754, allocations: 1.221 MB / 0.9439 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.6755, allocations: 85.09 kB / 0.9439 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.6767, allocations: 1.341 MB / 0.9453 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.6768, allocations: 29.7 kB / 0.9453 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.677, allocations: 380.4 kB / 0.9456 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.6771, allocations: 94.64 kB / 0.9457 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.6773, allocations: 67.08 kB / 0.9458 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.6774, allocations: 322 kB / 0.9461 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.678, allocations: 171.9 kB / 0.9463 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.6787, allocations: 231.2 kB / 0.9465 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.6799, allocations: 396 kB / 0.9469 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.68, allocations: 1.312 kB / 0.9469 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003929/0.6839, allocations: 0.7079 MB / 0.9476 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6839, allocations: 8 kB / 0.9476 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6839, allocations: 4.062 kB / 0.9476 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.685, allocations: 180.6 kB / 0.9477 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.6853, allocations: 59.89 kB / 0.9478 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007752/0.6931, allocations: 2.303 MB / 0.9501 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.6936, allocations: 39.8 kB / 0.9501 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.6936, allocations: 19.97 kB / 0.9501 GB, free: 392 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.0003066/0.6939, allocations: 298.2 kB / 0.9504 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/0.6941, allocations: 82.91 kB / 0.9505 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.6983, allocations: 0.7461 MB / 0.9512 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6983, allocations: 8 kB / 0.9512 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.6983, allocations: 0 / 0.9512 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6983, allocations: 7.984 kB / 0.9512 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.6989, allocations: 0.5661 MB / 0.9518 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6989, allocations: 0 / 0.9518 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.6992, allocations: 50.16 kB / 0.9518 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009905/0.7002, allocations: 182.6 kB / 0.952 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.7003, allocations: 15.98 kB / 0.952 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007815/0.7081, allocations: 2.296 MB / 0.9543 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7081, allocations: 3.938 kB / 0.9543 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.7122, allocations: 0.7477 MB / 0.955 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.7123, allocations: 148 kB / 0.9551 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.7124, allocations: 15.92 kB / 0.9551 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.7129, allocations: 27.61 kB / 0.9552 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.713, allocations: 27.91 kB / 0.9552 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.713, allocations: 19.97 kB / 0.9552 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009459/0.714, allocations: 0.9988 MB / 0.9562 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.714, allocations: 0 / 0.9562 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004909/0.7145, allocations: 115.9 kB / 0.9563 GB, free: 9.805 MB / 0.7481 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.001003/0.7155, allocations: 445.8 kB / 0.9567 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.7173, allocations: 0.5544 MB / 0.9573 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7173, allocations: 0 / 0.9573 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009622/0.7182, allocations: 358.5 kB / 0.9576 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.7189, allocations: 121.4 kB / 0.9577 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.7212, allocations: 1.573 MB / 0.9593 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.7217, allocations: 0.9684 MB / 0.9602 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00029/0.722, allocations: 85.75 kB / 0.9603 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.7222, allocations: 39.41 kB / 0.9603 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.7222, allocations: 0 / 0.9603 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of Templates: time 0.01604/0.7382, allocations: 10.22 MB / 0.9703 GB, free: 11.72 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)