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.0007394/0.0007394, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.004809/0.004809, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.254/1.254, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.617/1.617, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005249/0.0005249, allocations: 14.34 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003412/0.2187, allocations: 1.897 MB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5369/0.7556, allocations: 146.5 MB / 0.9328 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.7558, allocations: 6.406 kB / 0.9328 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.7566, allocations: 0.7677 MB / 0.9336 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.7571, allocations: 482.1 kB / 0.934 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.7578, allocations: 327.9 kB / 0.9344 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000445/0.7583, allocations: 0.5455 MB / 0.9349 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.7584, allocations: 76.7 kB / 0.935 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.7596, allocations: 318 kB / 0.9353 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.76, allocations: 465.2 kB / 0.9357 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.76, allocations: 7.969 kB / 0.9357 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.7604, allocations: 287 kB / 0.936 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.7606, allocations: 176.1 kB / 0.9362 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.7608, allocations: 272.7 kB / 0.9364 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.7613, allocations: 0.6958 MB / 0.9371 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7614, allocations: 0 / 0.9371 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7614, allocations: 3.938 kB / 0.9371 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7614, allocations: 0 / 0.9371 GB, free: 1.367 MB / 0.7169 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.001269/0.7627, allocations: 0.9729 MB / 0.9381 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.7627, allocations: 11.97 kB / 0.9381 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.7641, allocations: 195.1 kB / 0.9383 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.7646, allocations: 487.8 kB / 0.9387 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.7646, allocations: 15 kB / 0.9387 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.7647, allocations: 22.44 kB / 0.9388 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.7655, allocations: 331.7 kB / 0.9391 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7655, allocations: 0 / 0.9391 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.7655, allocations: 11.56 kB / 0.9391 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.7655, allocations: 9.406 kB / 0.9391 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.7667, allocations: 335.8 kB / 0.9394 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.7687, allocations: 1.118 MB / 0.9405 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.7697, allocations: 404.4 kB / 0.9409 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.7704, allocations: 198.3 kB / 0.9411 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.7704, allocations: 15.3 kB / 0.9411 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007563/0.7712, allocations: 308.6 kB / 0.9414 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.7712, allocations: 0 / 0.9414 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008687/0.7799, allocations: 1.206 MB / 0.9426 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.78, allocations: 86.14 kB / 0.9426 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.7816, allocations: 1.338 MB / 0.944 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.7817, allocations: 35.7 kB / 0.944 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.7819, allocations: 367.3 kB / 0.9443 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.782, allocations: 92.47 kB / 0.9444 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.7821, allocations: 37.22 kB / 0.9445 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.7822, allocations: 322.2 kB / 0.9448 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.7828, allocations: 168.9 kB / 0.9449 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.7834, allocations: 226.2 kB / 0.9451 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.7846, allocations: 396.4 kB / 0.9455 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7846, allocations: 1 kB / 0.9455 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003843/0.7884, allocations: 0.711 MB / 0.9462 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7885, allocations: 4.938 kB / 0.9462 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.7885, allocations: 1.031 kB / 0.9462 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.7895, allocations: 181.8 kB / 0.9464 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.7898, allocations: 58.77 kB / 0.9465 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007052/0.7969, allocations: 2.109 MB / 0.9485 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.7974, allocations: 48.73 kB / 0.9486 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.7975, allocations: 14.5 kB / 0.9486 GB, free: 13.02 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.0003586/0.7978, allocations: 293.4 kB / 0.9489 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.7979, allocations: 86.22 kB / 0.9489 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.8019, allocations: 0.7508 MB / 0.9497 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.802, allocations: 3.5 kB / 0.9497 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.802, allocations: 1.344 kB / 0.9497 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.802, allocations: 4.016 kB / 0.9497 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.8026, allocations: 0.563 MB / 0.9502 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8026, allocations: 1.281 kB / 0.9502 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.8028, allocations: 51.47 kB / 0.9503 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/0.8038, allocations: 182.7 kB / 0.9505 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.8038, allocations: 17.95 kB / 0.9505 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006881/0.8107, allocations: 2.103 MB / 0.9525 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.8108, allocations: 0.7031 kB / 0.9525 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.8147, allocations: 0.7538 MB / 0.9533 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.8148, allocations: 152.7 kB / 0.9534 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.8149, allocations: 11.47 kB / 0.9534 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.8153, allocations: 27.91 kB / 0.9534 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.8154, allocations: 21.98 kB / 0.9535 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.8155, allocations: 21.67 kB / 0.9535 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009403/0.8164, allocations: 1.001 MB / 0.9545 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8164, allocations: 3.938 kB / 0.9545 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005234/0.8169, allocations: 111.1 kB / 0.9546 GB, free: 10.82 MB / 0.7325 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.0008913/0.8178, allocations: 439.6 kB / 0.955 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.8194, allocations: 0.5527 MB / 0.9555 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.8195, allocations: 4.062 kB / 0.9555 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008761/0.8203, allocations: 361 kB / 0.9559 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.821, allocations: 116.3 kB / 0.956 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.8233, allocations: 1.783 MB / 0.9577 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.8238, allocations: 0.974 MB / 0.9587 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003298/0.8242, allocations: 82.31 kB / 0.9588 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.8243, allocations: 42.16 kB / 0.9588 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.8243, allocations: 0 / 0.9588 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of Templates: time 0.01438/0.8387, allocations: 9.694 MB / 0.9683 GB, free: 4.145 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: