Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001698/0.001698, allocations: 171.4 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.524/2.524, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008692/0.0008692, allocations: 86.34 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.00036, allocations: 9.094 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2694, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002941/0.2724, allocations: 1.94 MB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1991/0.4715, allocations: 148.1 MB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.472, allocations: 4 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.4732, allocations: 0.768 MB / 1.044 GB, free: 12.74 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009491/0.4741, allocations: 478.8 kB / 1.045 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.4754, allocations: 328.8 kB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008816/0.4763, allocations: 0.5499 MB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.4765, allocations: 68.72 kB / 1.045 GB, free: 11.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.4785, allocations: 326.8 kB / 1.046 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.4793, allocations: 459.7 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.4794, allocations: 12 kB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.4801, allocations: 287.6 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.4803, allocations: 175.7 kB / 1.047 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.4806, allocations: 241.9 kB / 1.047 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.4814, allocations: 0.5186 MB / 1.047 GB, free: 9.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4814, allocations: 0 / 1.047 GB, free: 9.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4814, allocations: 0 / 1.047 GB, free: 9.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.4814, allocations: 8 kB / 1.047 GB, free: 9.344 MB / 0.698 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.00183/0.4833, allocations: 0.9602 MB / 1.048 GB, free: 8.332 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4833, allocations: 8.031 kB / 1.048 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.4848, allocations: 202.7 kB / 1.049 GB, free: 8.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00076/0.4856, allocations: 482.8 kB / 1.049 GB, free: 7.613 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.4857, allocations: 20.38 kB / 1.049 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.4857, allocations: 16 kB / 1.049 GB, free: 7.578 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009058/0.4866, allocations: 342.9 kB / 1.049 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4867, allocations: 0 / 1.049 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.4867, allocations: 8 kB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4867, allocations: 8 kB / 1.049 GB, free: 7.211 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.4879, allocations: 332.7 kB / 1.05 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.4902, allocations: 1.12 MB / 1.051 GB, free: 5.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.4913, allocations: 403.9 kB / 1.051 GB, free: 5.297 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.492, allocations: 205.6 kB / 1.051 GB, free: 5.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.4921, allocations: 8 kB / 1.051 GB, free: 5.082 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008142/0.4929, allocations: 300.7 kB / 1.052 GB, free: 4.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.4929, allocations: 0 / 1.052 GB, free: 4.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.008137/0.5011, allocations: 1.203 MB / 1.053 GB, free: 3.539 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.5011, allocations: 81.11 kB / 1.053 GB, free: 3.441 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.5027, allocations: 1.341 MB / 1.054 GB, free: 2.086 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.5028, allocations: 37.7 kB / 1.054 GB, free: 2.043 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.5031, allocations: 360.5 kB / 1.055 GB, free: 1.688 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.5033, allocations: 114.6 kB / 1.055 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.5034, allocations: 25.72 kB / 1.055 GB, free: 1.543 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5035, allocations: 318 kB / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.5042, allocations: 171.8 kB / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.5048, allocations: 233.7 kB / 1.055 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.506, allocations: 396.7 kB / 1.056 GB, free: 416 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5061, allocations: 0 / 1.056 GB, free: 416 kB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.4733/0.9793, allocations: 0.7088 MB / 1.056 GB, free: 160.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.9794, allocations: 6.359 kB / 1.056 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9794, allocations: 4.938 kB / 1.056 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.9805, allocations: 174.5 kB / 1.057 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.9809, allocations: 64.75 kB / 1.057 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.9876, allocations: 2.106 MB / 1.059 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/0.9883, allocations: 45.81 kB / 1.059 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.9883, allocations: 15.5 kB / 1.059 GB, free: 159.7 MB / 0.698 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.0005195/0.9888, allocations: 299 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.989, allocations: 81.22 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.9929, allocations: 0.7461 MB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.993, allocations: 3.484 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.993, allocations: 1.859 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.993, allocations: 4.672 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.9937, allocations: 0.5698 MB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9937, allocations: 4.5 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.994, allocations: 52.55 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009292/0.9949, allocations: 179.3 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.995, allocations: 15.48 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/1.002, allocations: 2.101 MB / 1.063 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.002, allocations: 0 / 1.063 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/1.006, allocations: 0.7544 MB / 1.064 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/1.006, allocations: 140.1 kB / 1.064 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/1.006, allocations: 8.422 kB / 1.064 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/1.007, allocations: 31.89 kB / 1.064 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.007, allocations: 22.86 kB / 1.064 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.007, allocations: 20.23 kB / 1.064 GB, free: 157.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002428/1.01, allocations: 1.004 MB / 1.065 GB, free: 157.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/1.01, allocations: 0 / 1.065 GB, free: 157.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001236/1.011, allocations: 117.7 kB / 1.065 GB, free: 157.6 MB / 0.698 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.001336/1.012, allocations: 441.7 kB / 1.065 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00219/1.014, allocations: 0.5431 MB / 1.066 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.014, allocations: 0 / 1.066 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.016, allocations: 362.7 kB / 1.066 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/1.017, allocations: 115 kB / 1.066 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/1.021, allocations: 1.83 MB / 1.068 GB, free: 156.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/1.021, allocations: 0.9713 MB / 1.069 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.022, allocations: 43.83 kB / 1.069 GB, free: 155.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.51e-07/1.022, allocations: 0 / 1.069 GB, free: 155.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02523/1.047, allocations: 10.98 MB / 1.08 GB, free: 151.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)