Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001373/0.001373, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001378/0.001378, allocations: 195.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 66.67 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3029, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003587/0.3065, allocations: 2.248 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.466, allocations: 148.4 MB / 1.215 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.4664, allocations: 8 kB / 1.215 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009509/0.4674, allocations: 0.768 MB / 1.216 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008296/0.4683, allocations: 478.8 kB / 1.216 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.4694, allocations: 362.4 kB / 1.216 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.4701, allocations: 0.5655 MB / 1.217 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.4703, allocations: 80.7 kB / 1.217 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.4718, allocations: 369.3 kB / 1.217 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.4723, allocations: 491.7 kB / 1.218 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.4724, allocations: 24 kB / 1.218 GB, free: 472 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.473, allocations: 307.5 kB / 1.218 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.4732, allocations: 199.5 kB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.4735, allocations: 265.9 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.4743, allocations: 0.7243 MB / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4743, allocations: 4 kB / 1.219 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4743, allocations: 0 / 1.219 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.4744, allocations: 0 / 1.219 GB, free: 14.97 MB / 0.9825 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.001693/0.4761, allocations: 1.069 MB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4761, allocations: 12.03 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.4779, allocations: 194.7 kB / 1.22 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.4784, allocations: 486.8 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.4785, allocations: 16.36 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.4785, allocations: 20 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.4795, allocations: 335.1 kB / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4795, allocations: 0 / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.4796, allocations: 8 kB / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4796, allocations: 4 kB / 1.221 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.481, allocations: 340.6 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.4832, allocations: 1.12 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.4844, allocations: 397.4 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/0.4852, allocations: 209.5 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.4852, allocations: 7.984 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009336/0.4862, allocations: 310 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.4862, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0102/0.4964, allocations: 1.214 MB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.4965, allocations: 85.05 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.498, allocations: 1.337 MB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.4981, allocations: 37.69 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.4984, allocations: 368.4 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4985, allocations: 94.66 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4986, allocations: 69.67 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4988, allocations: 318 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.4995, allocations: 167.9 kB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.5002, allocations: 233.9 kB / 1.227 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.5016, allocations: 394.7 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5016, allocations: 0 / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004492/0.5061, allocations: 0.7206 MB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5061, allocations: 4 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5062, allocations: 4 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.5073, allocations: 180.7 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.5077, allocations: 71.78 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008757/0.5165, allocations: 2.293 MB / 1.231 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.5172, allocations: 43.78 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.5173, allocations: 19.98 kB / 1.231 GB, free: 2.41 MB / 0.9825 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.0004799/0.5178, allocations: 298.1 kB / 1.231 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5179, allocations: 82.91 kB / 1.231 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.5224, allocations: 0.7662 MB / 1.232 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5224, allocations: 4 kB / 1.232 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5225, allocations: 0 / 1.232 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5225, allocations: 0 / 1.232 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.5232, allocations: 0.5742 MB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5232, allocations: 0 / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.5235, allocations: 47.91 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.5246, allocations: 184.6 kB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.5246, allocations: 11.98 kB / 1.233 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008314/0.533, allocations: 2.291 MB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.533, allocations: 7.938 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.5376, allocations: 0.7551 MB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.5378, allocations: 148 kB / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5379, allocations: 11.94 kB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.5384, allocations: 27.97 kB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.5385, allocations: 27.91 kB / 1.236 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.5386, allocations: 15.98 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00108/0.5397, allocations: 1.003 MB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5397, allocations: 4 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005597/0.5402, allocations: 119.9 kB / 1.237 GB, free: 11.79 MB / 0.9981 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.001058/0.5413, allocations: 431.2 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.5433, allocations: 0.5824 MB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5433, allocations: 0 / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5444, allocations: 358.4 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.5451, allocations: 123.1 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.548, allocations: 1.768 MB / 1.24 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.5485, allocations: 0.9684 MB / 1.241 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004097/0.549, allocations: 87.12 kB / 1.241 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.5491, allocations: 47.41 kB / 1.241 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/0.5491, allocations: 0 / 1.241 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.5076/1.057, allocations: 10.14 MB / 1.251 GB, free: 184.8 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)