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.0008931/0.0008932, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0008884/0.0008884, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.119/1.119, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.444/1.444, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001178/0.001178, allocations: 68.05 kB / 0.671 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1684, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003115/0.1715, allocations: 2.251 MB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4311/0.6026, allocations: 148.2 MB / 0.9298 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.6028, allocations: 8.781 kB / 0.9298 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008526/0.6037, allocations: 0.7682 MB / 0.9306 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.6043, allocations: 480.4 kB / 0.931 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.6051, allocations: 339.4 kB / 0.9313 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.6055, allocations: 0.5655 MB / 0.9319 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.6057, allocations: 81.41 kB / 0.932 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.6067, allocations: 369.5 kB / 0.9323 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.6072, allocations: 489 kB / 0.9328 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.6072, allocations: 23.62 kB / 0.9328 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.6076, allocations: 303.9 kB / 0.9331 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.6078, allocations: 198.5 kB / 0.9333 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.608, allocations: 262.8 kB / 0.9335 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.6086, allocations: 0.7251 MB / 0.9343 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6086, allocations: 5.703 kB / 0.9343 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6086, allocations: 0 / 0.9343 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.6086, allocations: 0 / 0.9343 GB, free: 5.824 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.00136/0.61, allocations: 1.076 MB / 0.9353 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.61, allocations: 9.562 kB / 0.9353 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.6115, allocations: 198.5 kB / 0.9355 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.612, allocations: 487.8 kB / 0.936 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.612, allocations: 17.06 kB / 0.936 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.612, allocations: 18.77 kB / 0.936 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.6129, allocations: 331.7 kB / 0.9363 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6129, allocations: 3.938 kB / 0.9363 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.6129, allocations: 15.05 kB / 0.9363 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6129, allocations: 6.156 kB / 0.9363 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6141, allocations: 337.6 kB / 0.9367 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.6158, allocations: 1.118 MB / 0.9378 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.6168, allocations: 403.3 kB / 0.9381 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.6174, allocations: 207.2 kB / 0.9383 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.6174, allocations: 12.88 kB / 0.9384 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007396/0.6182, allocations: 298.7 kB / 0.9386 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.6182, allocations: 0 / 0.9386 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.008553/0.6267, allocations: 1.226 MB / 0.9398 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.6268, allocations: 81.94 kB / 0.9399 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.6279, allocations: 1.342 MB / 0.9412 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.6279, allocations: 35.55 kB / 0.9413 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.6281, allocations: 370.5 kB / 0.9416 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.6282, allocations: 94.92 kB / 0.9417 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.6283, allocations: 69.62 kB / 0.9418 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6284, allocations: 315.3 kB / 0.9421 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.629, allocations: 171.5 kB / 0.9422 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.6297, allocations: 235.4 kB / 0.9425 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.6309, allocations: 392.8 kB / 0.9428 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.6309, allocations: 3.938 kB / 0.9428 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003903/0.6348, allocations: 0.7168 MB / 0.9435 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6349, allocations: 5.609 kB / 0.9435 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6349, allocations: 2.094 kB / 0.9435 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.6359, allocations: 181.5 kB / 0.9437 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.6362, allocations: 62.62 kB / 0.9438 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/0.6437, allocations: 2.297 MB / 0.946 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.6441, allocations: 43.47 kB / 0.9461 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6442, allocations: 19.55 kB / 0.9461 GB, free: 17.41 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.0003104/0.6445, allocations: 296.9 kB / 0.9464 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.6446, allocations: 83.03 kB / 0.9464 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.6488, allocations: 0.7578 MB / 0.9472 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.6488, allocations: 5.141 kB / 0.9472 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6488, allocations: 1 kB / 0.9472 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6488, allocations: 3.688 kB / 0.9472 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.6494, allocations: 0.5666 MB / 0.9477 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6494, allocations: 0.5625 kB / 0.9477 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.6497, allocations: 48.84 kB / 0.9478 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009748/0.6507, allocations: 181.9 kB / 0.948 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.6507, allocations: 14.77 kB / 0.948 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007302/0.658, allocations: 2.29 MB / 0.9502 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.658, allocations: 7.109 kB / 0.9502 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.6619, allocations: 0.7528 MB / 0.951 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.662, allocations: 150 kB / 0.9511 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.252e-05/0.6621, allocations: 18.72 kB / 0.9511 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.6625, allocations: 25.42 kB / 0.9511 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.6625, allocations: 23.27 kB / 0.9512 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.6626, allocations: 17.09 kB / 0.9512 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008334/0.6634, allocations: 0.9986 MB / 0.9522 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6634, allocations: 5.25 kB / 0.9522 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004501/0.6639, allocations: 114 kB / 0.9523 GB, free: 15.14 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.0008627/0.6648, allocations: 441.5 kB / 0.9527 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.6664, allocations: 0.578 MB / 0.9533 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6664, allocations: 1.094 kB / 0.9533 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.6672, allocations: 356.1 kB / 0.9536 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.6678, allocations: 130.7 kB / 0.9537 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.6698, allocations: 1.771 MB / 0.9554 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.6703, allocations: 0.9662 MB / 0.9564 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003065/0.6706, allocations: 92.58 kB / 0.9565 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.6707, allocations: 43.42 kB / 0.9565 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.6707, allocations: 1.203 kB / 0.9565 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.01289/0.6836, allocations: 10.15 MB / 0.9664 GB, free: 12.7 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)