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.48/1.48, allocations: 252 MB / 268 MB, free: 10.84 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.0009753/0.0009754, allocations: 180.5 kB / 327.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.4 MB / 0.5786 GB, free: 20.45 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.0008077/0.0008077, allocations: 94.39 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 8.281 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2554, allocations: 106.3 MB / 0.9014 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002528/0.258, allocations: 1.916 MB / 0.9033 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.4338, allocations: 146.6 MB / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.4343, allocations: 0 / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.4355, allocations: 0.7758 MB / 1.047 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008754/0.4364, allocations: 482.7 kB / 1.048 GB, free: 9.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.4377, allocations: 335.1 kB / 1.048 GB, free: 9.195 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000778/0.4385, allocations: 0.5382 MB / 1.048 GB, free: 8.656 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.4387, allocations: 72.72 kB / 1.049 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.4407, allocations: 333.3 kB / 1.049 GB, free: 8.273 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.4413, allocations: 451.7 kB / 1.049 GB, free: 7.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.4413, allocations: 12 kB / 1.049 GB, free: 7.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008158/0.4422, allocations: 295.5 kB / 1.05 GB, free: 7.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.4424, allocations: 175.7 kB / 1.05 GB, free: 7.359 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.4427, allocations: 267.6 kB / 1.05 GB, free: 7.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.4434, allocations: 0.5149 MB / 1.051 GB, free: 6.574 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4434, allocations: 0 / 1.051 GB, free: 6.574 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4434, allocations: 0 / 1.051 GB, free: 6.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.4434, allocations: 0 / 1.051 GB, free: 6.574 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.001661/0.4451, allocations: 0.9642 MB / 1.051 GB, free: 5.559 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4452, allocations: 8.031 kB / 1.051 GB, free: 5.551 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.4468, allocations: 198.7 kB / 1.052 GB, free: 5.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.4474, allocations: 490.7 kB / 1.052 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.4475, allocations: 20.36 kB / 1.052 GB, free: 4.816 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.4475, allocations: 16 kB / 1.052 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.4485, allocations: 338.9 kB / 1.052 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4485, allocations: 0 / 1.052 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.4486, allocations: 4 kB / 1.053 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4486, allocations: 8 kB / 1.053 GB, free: 4.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.4499, allocations: 336.7 kB / 1.053 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.4523, allocations: 1.113 MB / 1.054 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4534, allocations: 397.4 kB / 1.054 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.4541, allocations: 201.6 kB / 1.054 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.4542, allocations: 15.97 kB / 1.055 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008511/0.455, allocations: 304.7 kB / 1.055 GB, free: 2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.4551, allocations: 0 / 1.055 GB, free: 2 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.009394/0.4645, allocations: 1.203 MB / 1.056 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4646, allocations: 85.11 kB / 1.056 GB, free: 0.668 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5074/0.972, allocations: 1.339 MB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.9722, allocations: 33.52 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.9725, allocations: 367.4 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.9727, allocations: 95.06 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.9727, allocations: 8.812 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.9728, allocations: 316.1 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/0.9734, allocations: 178 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.9741, allocations: 231 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.9754, allocations: 396.4 kB / 1.059 GB, free: 156.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.9754, allocations: 0 / 1.059 GB, free: 156.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004165/0.9796, allocations: 0.7115 MB / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.9796, allocations: 8.938 kB / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.9797, allocations: 0.9688 kB / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.9808, allocations: 182.9 kB / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.9812, allocations: 58 kB / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/0.9884, allocations: 2.106 MB / 1.062 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.9891, allocations: 41.44 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.9892, allocations: 16.3 kB / 1.062 GB, free: 155.1 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 ($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 (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.0004204/0.9896, allocations: 299 kB / 1.062 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.9897, allocations: 79.42 kB / 1.062 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/0.9939, allocations: 0.7423 MB / 1.063 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.994, allocations: 3.094 kB / 1.063 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.994, allocations: 6.734 kB / 1.063 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.994, allocations: 6.141 kB / 1.063 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007306/0.9947, allocations: 0.5736 MB / 1.064 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9948, allocations: 7.797 kB / 1.064 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.995, allocations: 42.53 kB / 1.064 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009987/0.9961, allocations: 175.7 kB / 1.064 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.9961, allocations: 17.42 kB / 1.064 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007213/1.003, allocations: 2.105 MB / 1.066 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/1.003, allocations: 1.75 kB / 1.066 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/1.008, allocations: 0.7526 MB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.008, allocations: 151.4 kB / 1.067 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/1.008, allocations: 10.67 kB / 1.067 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/1.008, allocations: 32.67 kB / 1.067 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.008, allocations: 21.61 kB / 1.067 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/1.009, allocations: 19.27 kB / 1.067 GB, free: 153.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001664/1.01, allocations: 0.9983 MB / 1.068 GB, free: 153 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.01, allocations: 4 kB / 1.068 GB, free: 153 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007737/1.011, allocations: 113.5 kB / 1.068 GB, free: 153 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.001141/1.012, allocations: 442 kB / 1.068 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.014, allocations: 0.5499 MB / 1.069 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.014, allocations: 0 / 1.069 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.015, allocations: 359.7 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/1.016, allocations: 116.5 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/1.02, allocations: 1.849 MB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/1.021, allocations: 0.9632 MB / 1.072 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/1.021, allocations: 49.56 kB / 1.072 GB, free: 151.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.021, allocations: 4 kB / 1.072 GB, free: 151.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02174/1.043, allocations: 10.97 MB / 1.083 GB, free: 146.6 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)