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.001368/0.001368, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.00143/0.00143, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.594/1.594, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.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.712/1.712, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001356/0.001356, allocations: 66.98 kB / 0.6716 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004273/0.2453, allocations: 2.25 MB / 0.7857 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5738/0.8191, allocations: 148.2 MB / 0.9305 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.8193, allocations: 8.781 kB / 0.9305 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.8204, allocations: 0.7713 MB / 0.9312 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007993/0.8212, allocations: 475.9 kB / 0.9317 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.8222, allocations: 332 kB / 0.932 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000662/0.8229, allocations: 0.5681 MB / 0.9326 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.8231, allocations: 86.39 kB / 0.9326 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.8245, allocations: 364.7 kB / 0.933 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.825, allocations: 498.2 kB / 0.9335 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.825, allocations: 21.75 kB / 0.9335 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006289/0.8256, allocations: 304.7 kB / 0.9338 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.8258, allocations: 192.7 kB / 0.934 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.8261, allocations: 264.5 kB / 0.9342 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.8267, allocations: 0.5367 MB / 0.9347 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8267, allocations: 7.625 kB / 0.9347 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8267, allocations: 0 / 0.9347 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.8267, allocations: 0 / 0.9347 GB, free: 5.832 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.001675/0.8284, allocations: 1.069 MB / 0.9358 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.8285, allocations: 10.09 kB / 0.9358 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.8301, allocations: 201 kB / 0.936 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.8306, allocations: 489.9 kB / 0.9364 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.8307, allocations: 12.42 kB / 0.9365 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.8307, allocations: 21.47 kB / 0.9365 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009429/0.8317, allocations: 333.2 kB / 0.9368 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8317, allocations: 8.453 kB / 0.9368 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.8317, allocations: 6.125 kB / 0.9368 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.8317, allocations: 6.75 kB / 0.9368 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.833, allocations: 338 kB / 0.9371 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.8351, allocations: 1.116 MB / 0.9382 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.8363, allocations: 406.6 kB / 0.9386 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.8369, allocations: 203.9 kB / 0.9388 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.837, allocations: 10.08 kB / 0.9388 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000859/0.8379, allocations: 312.1 kB / 0.9391 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.8379, allocations: 1.203 kB / 0.9391 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.009558/0.8474, allocations: 1.219 MB / 0.9403 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.8475, allocations: 80.3 kB / 0.9404 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.8489, allocations: 1.343 MB / 0.9417 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.849, allocations: 29.58 kB / 0.9417 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.8493, allocations: 375.5 kB / 0.9421 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.8494, allocations: 93.17 kB / 0.9422 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.8495, allocations: 67.33 kB / 0.9422 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8497, allocations: 319.3 kB / 0.9425 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.8504, allocations: 172.4 kB / 0.9427 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/0.8511, allocations: 228.7 kB / 0.9429 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.8525, allocations: 392 kB / 0.9433 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.8525, allocations: 7.875 kB / 0.9433 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00449/0.857, allocations: 0.7188 MB / 0.944 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.8571, allocations: 5.344 kB / 0.944 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8571, allocations: 1.344 kB / 0.944 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.8582, allocations: 182.2 kB / 0.9442 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.8586, allocations: 65.88 kB / 0.9443 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.8671, allocations: 2.293 MB / 0.9465 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.8678, allocations: 47.86 kB / 0.9465 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.8678, allocations: 19.59 kB / 0.9466 GB, free: 17.42 MB / 0.7481 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.0004829/0.8683, allocations: 291.5 kB / 0.9468 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.8685, allocations: 90.34 kB / 0.9469 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004897/0.8734, allocations: 0.7523 MB / 0.9477 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.8734, allocations: 4 kB / 0.9477 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8734, allocations: 3.531 kB / 0.9477 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.8734, allocations: 2.891 kB / 0.9477 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.8744, allocations: 0.5606 MB / 0.9482 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.8744, allocations: 0.5 kB / 0.9482 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.8748, allocations: 52.28 kB / 0.9483 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.8759, allocations: 182 kB / 0.9484 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.876, allocations: 14.11 kB / 0.9484 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008185/0.8842, allocations: 2.292 MB / 0.9507 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8842, allocations: 5.281 kB / 0.9507 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.8885, allocations: 0.7534 MB / 0.9514 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.8888, allocations: 148.3 kB / 0.9516 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.8889, allocations: 14.69 kB / 0.9516 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.8894, allocations: 32.5 kB / 0.9516 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.8895, allocations: 23.7 kB / 0.9516 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.8896, allocations: 18.61 kB / 0.9517 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001193/0.8908, allocations: 0.9987 MB / 0.9526 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8908, allocations: 4 kB / 0.9526 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006048/0.8914, allocations: 114.4 kB / 0.9527 GB, free: 15.15 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.0009942/0.8924, allocations: 437.3 kB / 0.9532 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.8944, allocations: 0.5794 MB / 0.9537 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8944, allocations: 0 / 0.9537 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.8954, allocations: 360.1 kB / 0.9541 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.8962, allocations: 127.2 kB / 0.9542 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.8991, allocations: 1.829 MB / 0.956 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.8997, allocations: 0.9718 MB / 0.9569 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.8999, allocations: 43.19 kB / 0.957 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of SimCode: time 7.52e-07/0.8999, allocations: 1.188 kB / 0.957 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of Templates: time 0.01728/0.9172, allocations: 11.09 MB / 0.9678 GB, free: 11.67 MB / 0.7481 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)