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.001235/0.001235, allocations: 108.3 kB / 16.29 MB, free: 6.43 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.001299/0.001299, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.187/1.187, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.604/1.604, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001277/0.001277, allocations: 64.42 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.19, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003198/0.1932, allocations: 2.201 MB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.424/0.6173, allocations: 150.4 MB / 0.9331 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.6176, allocations: 3.938 kB / 0.9331 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008537/0.6185, allocations: 0.7834 MB / 0.9339 GB, free: 1.258 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.000675/0.6191, allocations: 492.1 kB / 0.9344 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.62, allocations: 373.8 kB / 0.9347 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.6205, allocations: 0.5655 MB / 0.9353 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.6207, allocations: 80.42 kB / 0.9353 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009396/0.6217, allocations: 357.3 kB / 0.9357 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/0.6221, allocations: 479.7 kB / 0.9361 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.6222, allocations: 24 kB / 0.9362 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.6227, allocations: 299.5 kB / 0.9364 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.6229, allocations: 184.5 kB / 0.9366 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.6231, allocations: 269.9 kB / 0.9369 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007844/0.6239, allocations: 0.7396 MB / 0.9376 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6239, allocations: 0 / 0.9376 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6239, allocations: 0 / 0.9376 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6239, allocations: 0 / 0.9376 GB, free: 13.47 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.001408/0.6253, allocations: 1.068 MB / 0.9386 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.6254, allocations: 8.031 kB / 0.9387 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.6267, allocations: 202.7 kB / 0.9388 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.6272, allocations: 487.9 kB / 0.9393 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6272, allocations: 12.38 kB / 0.9393 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.6273, allocations: 24 kB / 0.9393 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.6281, allocations: 334.9 kB / 0.9397 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.6281, allocations: 0 / 0.9397 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.6282, allocations: 16.48 kB / 0.9397 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.6282, allocations: 4 kB / 0.9397 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.6293, allocations: 340.6 kB / 0.94 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.6312, allocations: 1.106 MB / 0.9411 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.6324, allocations: 407.4 kB / 0.9415 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.6331, allocations: 203.1 kB / 0.9417 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.6331, allocations: 19.97 kB / 0.9417 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007405/0.6338, allocations: 298.5 kB / 0.942 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.6339, allocations: 0 / 0.942 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.007904/0.6418, allocations: 1.221 MB / 0.9432 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.6418, allocations: 85.05 kB / 0.9432 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.643, allocations: 1.341 MB / 0.9446 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.6431, allocations: 41.69 kB / 0.9446 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.6434, allocations: 360.5 kB / 0.9449 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.6434, allocations: 98.64 kB / 0.945 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.6436, allocations: 65.67 kB / 0.9451 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6437, allocations: 318 kB / 0.9454 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/0.6443, allocations: 179.9 kB / 0.9456 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.6449, allocations: 227.8 kB / 0.9458 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.646, allocations: 395.8 kB / 0.9462 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.646, allocations: 4 kB / 0.9462 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003495/0.6495, allocations: 0.7095 MB / 0.9469 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6495, allocations: 4 kB / 0.9469 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6496, allocations: 0 / 0.9469 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/0.6505, allocations: 184.7 kB / 0.947 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.6508, allocations: 55.91 kB / 0.9471 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006877/0.6577, allocations: 2.31 MB / 0.9494 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.6582, allocations: 45.72 kB / 0.9494 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.6582, allocations: 11.98 kB / 0.9494 GB, free: 0.9219 MB / 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.0003318/0.6586, allocations: 298.2 kB / 0.9497 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6587, allocations: 90.83 kB / 0.9498 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/0.6624, allocations: 0.741 MB / 0.9505 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6624, allocations: 4 kB / 0.9505 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.6624, allocations: 0 / 0.9505 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6624, allocations: 4 kB / 0.9505 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.663, allocations: 0.5664 MB / 0.9511 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.663, allocations: 0 / 0.9511 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.6633, allocations: 55.91 kB / 0.9511 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008542/0.6641, allocations: 172.6 kB / 0.9513 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.6642, allocations: 11.98 kB / 0.9513 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006605/0.6708, allocations: 2.302 MB / 0.9535 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6708, allocations: 6.203 kB / 0.9535 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.6744, allocations: 0.7516 MB / 0.9543 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.6745, allocations: 148 kB / 0.9544 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.6746, allocations: 15.88 kB / 0.9544 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.675, allocations: 23.97 kB / 0.9545 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.6751, allocations: 27.97 kB / 0.9545 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.6752, allocations: 19.98 kB / 0.9545 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009926/0.6762, allocations: 0.9988 MB / 0.9555 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6762, allocations: 0 / 0.9555 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004632/0.6766, allocations: 111.9 kB / 0.9556 GB, free: 10.35 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.0009559/0.6776, allocations: 443.7 kB / 0.956 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.6792, allocations: 0.5505 MB / 0.9565 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6792, allocations: 6.031 kB / 0.9566 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.6801, allocations: 362.4 kB / 0.9569 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.6806, allocations: 123 kB / 0.957 GB, free: 9.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.6827, allocations: 1.569 MB / 0.9585 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.6832, allocations: 0.9684 MB / 0.9595 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.6835, allocations: 92.73 kB / 0.9596 GB, free: 6.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.6836, allocations: 39.42 kB / 0.9596 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/0.6836, allocations: 0 / 0.9596 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of Templates: time 0.01544/0.699, allocations: 10.21 MB / 0.9696 GB, free: 12.27 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)