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.0009989/0.0009988, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001035/0.001035, allocations: 191.5 kB / 16.14 MB, free: 6.703 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.213/1.213, allocations: 205.1 MB / 222 MB, free: 4.984 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.546/1.546, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001392/0.001392, allocations: 63.27 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1944, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003465/0.1979, allocations: 2.251 MB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4884/0.6863, allocations: 148.1 MB / 0.9295 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.6864, allocations: 5.844 kB / 0.9295 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009982/0.6875, allocations: 0.7694 MB / 0.9303 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.6882, allocations: 477.3 kB / 0.9307 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.689, allocations: 332.1 kB / 0.931 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.6896, allocations: 0.5448 MB / 0.9316 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.6897, allocations: 79.36 kB / 0.9317 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.691, allocations: 332.3 kB / 0.932 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.6914, allocations: 465.5 kB / 0.9324 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.6915, allocations: 14.66 kB / 0.9324 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.692, allocations: 291.8 kB / 0.9327 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.6922, allocations: 183.2 kB / 0.9329 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.6924, allocations: 254 kB / 0.9331 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006815/0.6931, allocations: 0.7095 MB / 0.9338 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6931, allocations: 3.469 kB / 0.9338 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6931, allocations: 4 kB / 0.9338 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.6931, allocations: 0 / 0.9338 GB, free: 5.723 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.001534/0.6947, allocations: 1.071 MB / 0.9349 GB, free: 21 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.6947, allocations: 8.562 kB / 0.9349 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.6962, allocations: 198.5 kB / 0.9351 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.6967, allocations: 488.9 kB / 0.9355 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6968, allocations: 14.16 kB / 0.9355 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.6968, allocations: 18.28 kB / 0.9356 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009105/0.6977, allocations: 331.6 kB / 0.9359 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6977, allocations: 3.938 kB / 0.9359 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.6978, allocations: 12.72 kB / 0.9359 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6978, allocations: 7.609 kB / 0.9359 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.6991, allocations: 337.7 kB / 0.9362 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.701, allocations: 1.12 MB / 0.9373 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.7021, allocations: 402.2 kB / 0.9377 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/0.7028, allocations: 209.1 kB / 0.9379 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.7028, allocations: 8.5 kB / 0.9379 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/0.7036, allocations: 302.9 kB / 0.9382 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.7036, allocations: 3.375 kB / 0.9382 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.008904/0.7125, allocations: 1.219 MB / 0.9394 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.7126, allocations: 86.08 kB / 0.9395 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.7139, allocations: 1.34 MB / 0.9408 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.7139, allocations: 33.02 kB / 0.9408 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.7142, allocations: 369.2 kB / 0.9412 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.7142, allocations: 93.36 kB / 0.9413 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.7144, allocations: 70 kB / 0.9413 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7145, allocations: 321.2 kB / 0.9416 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.7151, allocations: 170.2 kB / 0.9418 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.7158, allocations: 232.1 kB / 0.942 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.717, allocations: 392.9 kB / 0.9424 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7171, allocations: 3.938 kB / 0.9424 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004039/0.7211, allocations: 0.7143 MB / 0.9431 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7211, allocations: 5.906 kB / 0.9431 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7212, allocations: 1.281 kB / 0.9431 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.7222, allocations: 184.1 kB / 0.9433 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.7225, allocations: 62.53 kB / 0.9433 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/0.7295, allocations: 2.115 MB / 0.9454 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.73, allocations: 47.09 kB / 0.9454 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.73, allocations: 15.44 kB / 0.9455 GB, free: 17.4 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.0003997/0.7305, allocations: 297 kB / 0.9457 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.7306, allocations: 80 kB / 0.9458 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.7347, allocations: 0.7608 MB / 0.9466 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7347, allocations: 3.875 kB / 0.9466 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7347, allocations: 1.031 kB / 0.9466 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7347, allocations: 4.219 kB / 0.9466 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.7354, allocations: 0.5657 MB / 0.9471 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7354, allocations: 1.094 kB / 0.9471 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.7357, allocations: 46.45 kB / 0.9472 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009972/0.7367, allocations: 179.7 kB / 0.9473 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.7367, allocations: 18.28 kB / 0.9474 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006923/0.7437, allocations: 2.108 MB / 0.9494 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7437, allocations: 2.719 kB / 0.9494 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/0.7475, allocations: 0.7555 MB / 0.9502 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.7477, allocations: 148.6 kB / 0.9503 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.7477, allocations: 8.969 kB / 0.9503 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.7482, allocations: 31.52 kB / 0.9503 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.7483, allocations: 24.62 kB / 0.9504 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.7483, allocations: 19.64 kB / 0.9504 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009613/0.7493, allocations: 1.001 MB / 0.9514 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7493, allocations: 4 kB / 0.9514 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004899/0.7498, allocations: 107.8 kB / 0.9515 GB, free: 15.23 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.0008685/0.7506, allocations: 447.1 kB / 0.9519 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.7523, allocations: 0.5431 MB / 0.9524 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7523, allocations: 0 / 0.9524 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009119/0.7532, allocations: 361.9 kB / 0.9528 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.7538, allocations: 125.8 kB / 0.9529 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.756, allocations: 1.765 MB / 0.9546 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.7565, allocations: 0.9664 MB / 0.9555 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003444/0.7569, allocations: 84.92 kB / 0.9556 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.757, allocations: 40.28 kB / 0.9557 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.757, allocations: 0 / 0.9557 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of Templates: time 0.01414/0.7712, allocations: 9.846 MB / 0.9653 GB, free: 12.8 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)