Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 196 kB / 16.53 MB, free: 6.664 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.678/1.678, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.906/1.906, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.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.002741/0.002741, allocations: 74.19 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4113, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.003042/0.4145, allocations: 0.7023 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.4159, allocations: 0.8049 MB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.416, allocations: 3.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.03e-05/0.4161, allocations: 3.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.4162, allocations: 7.938 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.4164, allocations: 19.98 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.4165, allocations: 39.86 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.4166, allocations: 15.98 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.4168, allocations: 15.92 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.4168, allocations: 23.92 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.4169, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.4169, allocations: 4 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.4169, allocations: 15.97 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.417, allocations: 15.88 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.4171, allocations: 35.88 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.4171, allocations: 8 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4171, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.4171, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 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.0006935/0.4178, allocations: 359.7 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.4179, allocations: 8.031 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.418, allocations: 4.844 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.4181, allocations: 172.2 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4182, allocations: 4.375 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.4182, allocations: 4.375 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.4185, allocations: 74.14 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4185, allocations: 192 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.4185, allocations: 3.938 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4185, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.4189, allocations: 67.92 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.4193, allocations: 265 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.4195, allocations: 62.41 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.4197, allocations: 44.91 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.4198, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.4198, allocations: 30.56 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.4198, allocations: 4 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005892/0.4204, allocations: 125.6 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4205, allocations: 55.34 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4206, allocations: 121.7 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4206, allocations: 25.7 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.4207, allocations: 92.03 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4207, allocations: 7.906 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.4208, allocations: 13.72 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4209, allocations: 322.8 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.4211, allocations: 31.97 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4212, allocations: 32.14 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.4215, allocations: 72.78 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4215, allocations: 3.938 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004103/0.4219, allocations: 93.62 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.422, allocations: 7.984 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.422, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.422, allocations: 3.938 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.4222, allocations: 15.98 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4223, allocations: 4 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.4224, allocations: 15.89 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4224, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 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 0.0001545/0.4225, allocations: 114.4 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.4226, allocations: 4 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.423, allocations: 113.5 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.423, allocations: 0 / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.4231, allocations: 0 / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4231, allocations: 0 / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.4234, allocations: 169.5 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4234, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4235, allocations: 23.92 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4235, allocations: 0 / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.4235, allocations: 7.984 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4235, allocations: 4 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4235, allocations: 0 / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.424, allocations: 191.3 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.424, allocations: 81.11 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.4241, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4242, allocations: 19.97 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.4243, allocations: 7.938 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.4243, allocations: 0 / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.4244, allocations: 91.27 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4244, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002473/0.4246, allocations: 8 kB / 0.7879 GB, free: 8.473 MB / 0.6075 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.0002281/0.4249, allocations: 99.19 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.4252, allocations: 71.92 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4253, allocations: 3.938 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.4254, allocations: 35.95 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4258, allocations: 11.94 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.4264, allocations: 129.4 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4268, allocations: 0.681 MB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.4268, allocations: 7.984 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.4269, allocations: 11.44 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.4269, allocations: 0 / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.003475/0.4304, allocations: 0.6812 MB / 0.7896 GB, free: 6.695 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)