Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001192/0.001192, allocations: 190.3 kB / 16.14 MB, free: 6.66 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.671/1.671, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.72/1.72, allocations: 251.7 MB / 0.5088 GB, free: 3.336 MB / 414.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.001333/0.001333, allocations: 67.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6444/0.6457, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.00285/0.6486, allocations: 1.48 MB / 0.7253 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003087/0.649, allocations: 120.5 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.649, allocations: 0 / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.6491, allocations: 3.984 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.6491, allocations: 7.922 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.967e-05/0.6492, allocations: 11.98 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.206e-05/0.6493, allocations: 43.86 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.6494, allocations: 12 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.6495, allocations: 15.98 kB / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.6496, allocations: 19.91 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.6496, allocations: 7.938 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.6496, allocations: 3.938 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.6496, allocations: 8 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.6497, allocations: 11.92 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.73e-05/0.6497, allocations: 43.8 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.6498, allocations: 4 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6498, allocations: 0 / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6498, allocations: 0 / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005927/0.6504, allocations: 361.3 kB / 0.7259 GB, free: 10.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6504, allocations: 12.03 kB / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.6505, allocations: 0.9375 kB / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.6506, allocations: 176.3 kB / 0.7261 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.6506, allocations: 4.375 kB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.6507, allocations: 8.375 kB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.6509, allocations: 66.22 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.6509, allocations: 192 / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.651, allocations: 3.938 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.651, allocations: 0 / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.6513, allocations: 75.8 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.6517, allocations: 261 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.6519, allocations: 54.48 kB / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.6521, allocations: 44.91 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.6521, allocations: 0 / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6521, allocations: 34.5 kB / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.6521, allocations: 0 / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005406/0.6527, allocations: 137.5 kB / 0.7268 GB, free: 9.961 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.6527, allocations: 55.41 kB / 0.7268 GB, free: 9.895 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.6528, allocations: 105.8 kB / 0.7269 GB, free: 9.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.6529, allocations: 25.7 kB / 0.7269 GB, free: 9.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.6529, allocations: 92.08 kB / 0.727 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.6529, allocations: 3.906 kB / 0.727 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.653, allocations: 17.72 kB / 0.727 GB, free: 9.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6531, allocations: 314.8 kB / 0.7273 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.6533, allocations: 31.97 kB / 0.7274 GB, free: 9.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6534, allocations: 35.95 kB / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.6537, allocations: 64.73 kB / 0.7275 GB, free: 9.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6537, allocations: 7.938 kB / 0.7275 GB, free: 9.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/0.654, allocations: 101.5 kB / 0.7276 GB, free: 9.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.654, allocations: 4 kB / 0.7276 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.654, allocations: 4 kB / 0.7276 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6541, allocations: 3.938 kB / 0.7276 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.6542, allocations: 11.98 kB / 0.7276 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6542, allocations: 4 kB / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.6543, allocations: 11.98 kB / 0.7276 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.6543, allocations: 0 / 0.7276 GB, free: 9.027 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.6544, allocations: 117.8 kB / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.6544, allocations: 3.984 kB / 0.7277 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.6545, allocations: 15.84 kB / 0.7277 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6545, allocations: 336 / 0.7277 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6545, allocations: 4 kB / 0.7278 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6545, allocations: 4 kB / 0.7278 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.6547, allocations: 169.5 kB / 0.7279 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6547, allocations: 0 / 0.7279 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.6548, allocations: 27.95 kB / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6548, allocations: 0 / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.6548, allocations: 0 / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6548, allocations: 0 / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6548, allocations: 0 / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.6552, allocations: 191.4 kB / 0.7281 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.6552, allocations: 81.11 kB / 0.7282 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.6552, allocations: 7.922 kB / 0.7282 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6554, allocations: 11.98 kB / 0.7282 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.6554, allocations: 4 kB / 0.7282 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.6554, allocations: 0 / 0.7282 GB, free: 8.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.6555, allocations: 99.52 kB / 0.7283 GB, free: 8.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6555, allocations: 0 / 0.7283 GB, free: 8.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002218/0.6557, allocations: 7.906 kB / 0.7283 GB, free: 8.195 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.6559, allocations: 99.25 kB / 0.7284 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.6562, allocations: 67.92 kB / 0.7285 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6562, allocations: 4 kB / 0.7285 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.6564, allocations: 35.95 kB / 0.7285 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.6567, allocations: 11.94 kB / 0.7285 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.657, allocations: 147 kB / 0.7287 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.6573, allocations: 0.6809 MB / 0.7293 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.6573, allocations: 4 kB / 0.7293 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.6574, allocations: 7.438 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.6574, allocations: 0 / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of Templates: time 0.002408/0.6598, allocations: 0.5509 MB / 0.7299 GB, free: 6.543 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)