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.001718/0.001718, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002125/0.002125, allocations: 191.7 kB / 16.14 MB, free: 6.695 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 62.44 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004004/0.3224, allocations: 2.247 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1464/0.4689, allocations: 148.3 MB / 1.214 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.4691, allocations: 7.938 kB / 1.214 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.4701, allocations: 0.7681 MB / 1.215 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.4707, allocations: 482.7 kB / 1.216 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.4716, allocations: 346.7 kB / 1.216 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.4722, allocations: 0.5499 MB / 1.217 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.4724, allocations: 72.7 kB / 1.217 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.4738, allocations: 343.8 kB / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.4743, allocations: 471.7 kB / 1.217 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.4744, allocations: 12 kB / 1.217 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.4749, allocations: 287.5 kB / 1.218 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.4751, allocations: 183.6 kB / 1.218 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.4753, allocations: 253.9 kB / 1.218 GB, free: 180 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007412/0.4761, allocations: 0.7009 MB / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.4761, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4761, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.4761, allocations: 4 kB / 1.219 GB, free: 15.47 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.001557/0.4777, allocations: 1.084 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.4777, allocations: 8.031 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.4794, allocations: 194.7 kB / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.48, allocations: 486.8 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.48, allocations: 12.38 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.48, allocations: 20 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009736/0.481, allocations: 331.2 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.481, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.4811, allocations: 4 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4811, allocations: 8 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.4825, allocations: 340.6 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.4846, allocations: 1.128 MB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.4858, allocations: 393.4 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/0.4865, allocations: 205.6 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.4865, allocations: 11.98 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008721/0.4874, allocations: 313.9 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.4874, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.009816/0.4973, allocations: 1.222 MB / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4973, allocations: 81.11 kB / 1.224 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.4986, allocations: 1.341 MB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.4986, allocations: 29.7 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.4989, allocations: 368.5 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.499, allocations: 98.62 kB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.4991, allocations: 65.67 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.4992, allocations: 322 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.4999, allocations: 167.9 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.5007, allocations: 233.9 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.5021, allocations: 402 kB / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.5021, allocations: 0 / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004449/0.5066, allocations: 0.7188 MB / 1.228 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5066, allocations: 8 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5066, allocations: 0 / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.5077, allocations: 176.7 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.5081, allocations: 67.89 kB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008137/0.5162, allocations: 2.113 MB / 1.23 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.5168, allocations: 47.81 kB / 1.23 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.5169, allocations: 15.98 kB / 1.23 GB, free: 3.082 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.0005124/0.5174, allocations: 298.1 kB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.5176, allocations: 78.97 kB / 1.231 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.5222, allocations: 0.7545 MB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5223, allocations: 4 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5223, allocations: 4 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5223, allocations: 3.938 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.5229, allocations: 0.5704 MB / 1.232 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5229, allocations: 64 / 1.232 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.5232, allocations: 55.91 kB / 1.232 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.5242, allocations: 176.6 kB / 1.232 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.5243, allocations: 15.98 kB / 1.232 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007563/0.5319, allocations: 2.111 MB / 1.234 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.5319, allocations: 0 / 1.234 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.5362, allocations: 0.7666 MB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.5363, allocations: 144 kB / 1.235 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.5364, allocations: 11.98 kB / 1.235 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.5369, allocations: 27.98 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.537, allocations: 23.97 kB / 1.235 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.537, allocations: 15.97 kB / 1.235 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009532/0.538, allocations: 0.9988 MB / 1.236 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.538, allocations: 0 / 1.236 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005115/0.5385, allocations: 119.9 kB / 1.236 GB, free: 12.67 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.001039/0.5396, allocations: 438.3 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.5414, allocations: 0.5452 MB / 1.237 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5414, allocations: 0 / 1.237 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009873/0.5424, allocations: 362.4 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.5431, allocations: 114 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.5457, allocations: 1.782 MB / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.5462, allocations: 0.9723 MB / 1.241 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003607/0.5466, allocations: 82.86 kB / 1.241 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.5467, allocations: 43.42 kB / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.5468, allocations: 0 / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of Templates: time 0.5838/1.131, allocations: 9.815 MB / 1.25 GB, free: 184.3 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)