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.0007854/0.0007857, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008372/0.0008375, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.73/1.73, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005707/0.0005707, allocations: 14.91 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2911, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003037/0.2941, allocations: 1.831 MB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6933/0.9875, allocations: 136.6 MB / 0.9225 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.9878, allocations: 5.344 kB / 0.9225 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.989, allocations: 0.7578 MB / 0.9233 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007761/0.9898, allocations: 460 kB / 0.9237 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.9909, allocations: 311.9 kB / 0.924 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.9915, allocations: 484.2 kB / 0.9245 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.9917, allocations: 58 kB / 0.9245 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.9923, allocations: 305.3 kB / 0.9248 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.9928, allocations: 393.4 kB / 0.9252 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.9929, allocations: 8.156 kB / 0.9252 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.9936, allocations: 278 kB / 0.9254 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.9938, allocations: 175 kB / 0.9256 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.9942, allocations: 129.5 kB / 0.9257 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.995, allocations: 0.516 MB / 0.9262 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.995, allocations: 2.625 kB / 0.9262 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.995, allocations: 0 / 0.9262 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.995, allocations: 0 / 0.9262 GB, free: 21.59 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.00151/0.9965, allocations: 0.9807 MB / 0.9272 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.9966, allocations: 7.875 kB / 0.9272 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.9979, allocations: 194.8 kB / 0.9274 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.9985, allocations: 454.8 kB / 0.9278 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.9986, allocations: 17.16 kB / 0.9278 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.9986, allocations: 17.5 kB / 0.9279 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008478/0.9995, allocations: 331.9 kB / 0.9282 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.9995, allocations: 0 / 0.9282 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.9995, allocations: 13.69 kB / 0.9282 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9995, allocations: 2.906 kB / 0.9282 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/1.001, allocations: 336.2 kB / 0.9285 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/1.003, allocations: 1.117 MB / 0.9296 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/1.004, allocations: 399.9 kB / 0.93 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/1.004, allocations: 210.8 kB / 0.9302 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/1.004, allocations: 11.7 kB / 0.9302 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007626/1.005, allocations: 306.6 kB / 0.9305 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/1.005, allocations: 0 / 0.9305 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.007104/1.012, allocations: 1.197 MB / 0.9317 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.012, allocations: 84 kB / 0.9317 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.014, allocations: 1.34 MB / 0.933 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/1.014, allocations: 32.17 kB / 0.9331 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/1.014, allocations: 367.3 kB / 0.9334 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-05/1.015, allocations: 99.33 kB / 0.9335 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/1.015, allocations: 4.719 kB / 0.9335 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.015, allocations: 315.8 kB / 0.9338 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/1.015, allocations: 172.3 kB / 0.934 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/1.016, allocations: 233.8 kB / 0.9342 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/1.016, allocations: 185.3 kB / 0.9344 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.016, allocations: 3.953 kB / 0.9344 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00336/1.02, allocations: 0.7037 MB / 0.9351 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.02, allocations: 4.906 kB / 0.9351 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.02, allocations: 1.688 kB / 0.9351 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009061/1.021, allocations: 178.4 kB / 0.9353 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/1.021, allocations: 63.73 kB / 0.9353 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/1.027, allocations: 2.109 MB / 0.9374 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/1.028, allocations: 40.33 kB / 0.9374 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/1.028, allocations: 17.27 kB / 0.9374 GB, free: 17.4 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005349/1.029, allocations: 297.2 kB / 0.9377 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/1.029, allocations: 82.27 kB / 0.9378 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/1.032, allocations: 0.7495 MB / 0.9385 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/1.032, allocations: 8 kB / 0.9385 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.032, allocations: 0.5312 kB / 0.9385 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.033, allocations: 0.5312 kB / 0.9385 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/1.033, allocations: 0.5728 MB / 0.9391 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.033, allocations: 0 / 0.9391 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/1.033, allocations: 48.55 kB / 0.9391 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008103/1.034, allocations: 176.7 kB / 0.9393 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/1.034, allocations: 17.48 kB / 0.9393 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/1.041, allocations: 2.094 MB / 0.9414 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.041, allocations: 7.516 kB / 0.9414 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/1.044, allocations: 0.7512 MB / 0.9421 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/1.044, allocations: 155.4 kB / 0.9423 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/1.044, allocations: 10.25 kB / 0.9423 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/1.045, allocations: 28.39 kB / 0.9423 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/1.045, allocations: 25.16 kB / 0.9423 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/1.045, allocations: 19.94 kB / 0.9423 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001415/1.046, allocations: 1.003 MB / 0.9433 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.046, allocations: 4 kB / 0.9433 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007838/1.047, allocations: 108.1 kB / 0.9434 GB, free: 15.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/1.048, allocations: 440.2 kB / 0.9439 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001811/1.05, allocations: 0.5533 MB / 0.9444 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.05, allocations: 2.625 kB / 0.9444 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008743/1.051, allocations: 355.5 kB / 0.9447 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/1.052, allocations: 115 kB / 0.9448 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/1.054, allocations: 1.703 MB / 0.9465 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/1.055, allocations: 0.9623 MB / 0.9474 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004201/1.055, allocations: 92.14 kB / 0.9475 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.056, allocations: 42.8 kB / 0.9476 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/1.056, allocations: 0 / 0.9476 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.01904/1.075, allocations: 9.507 MB / 0.9569 GB, free: 10.95 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: