Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.001161/0.001161, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.556/1.556, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.756/1.756, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001428/0.001428, allocations: 67.73 kB / 0.6717 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002014/0.2474, allocations: 0.7671 MB / 0.7843 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.2484, allocations: 0.8594 MB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.2485, allocations: 3.938 kB / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.2485, allocations: 7.922 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.2486, allocations: 3.938 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.2488, allocations: 19.98 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.2488, allocations: 39.91 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.249, allocations: 19.94 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.2491, allocations: 19.92 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.2491, allocations: 19.91 kB / 0.7852 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.2491, allocations: 4 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.2491, allocations: 4 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.2492, allocations: 8 kB / 0.7853 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2492, allocations: 15.86 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.173e-05/0.2493, allocations: 31.94 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2493, allocations: 0 / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2493, allocations: 7.938 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2493, allocations: 0 / 0.7853 GB, free: 12.02 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.0005142/0.2498, allocations: 359.7 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2499, allocations: 8.031 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2499, allocations: 8.844 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.25, allocations: 172.2 kB / 0.7858 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2501, allocations: 4.375 kB / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.2501, allocations: 4.375 kB / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.2503, allocations: 74.2 kB / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2503, allocations: 192 / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2504, allocations: 7.938 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2504, allocations: 0 / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.2506, allocations: 67.86 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.251, allocations: 257 kB / 0.7862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.2512, allocations: 66.45 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2514, allocations: 36.92 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2514, allocations: 7.984 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2514, allocations: 30.56 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2514, allocations: 0 / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004982/0.2519, allocations: 129.5 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.252, allocations: 55.41 kB / 0.7865 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.2521, allocations: 109.8 kB / 0.7867 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2521, allocations: 25.7 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.2522, allocations: 97.03 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.2522, allocations: 7.906 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.2522, allocations: 9.719 kB / 0.7868 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2524, allocations: 322.8 kB / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2525, allocations: 31.97 kB / 0.7871 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2526, allocations: 31.97 kB / 0.7872 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.2529, allocations: 68.72 kB / 0.7872 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.2529, allocations: 3.938 kB / 0.7872 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003031/0.2532, allocations: 97.62 kB / 0.7873 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2533, allocations: 11.98 kB / 0.7873 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2533, allocations: 3.938 kB / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2533, allocations: 0 / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2534, allocations: 11.98 kB / 0.7873 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2534, allocations: 0 / 0.7873 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.2535, allocations: 19.89 kB / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2535, allocations: 0 / 0.7874 GB, free: 9.699 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 8.664e-05/0.2536, allocations: 117.8 kB / 0.7875 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.2537, allocations: 0 / 0.7875 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.2537, allocations: 15.89 kB / 0.7875 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2537, allocations: 0 / 0.7875 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2537, allocations: 0 / 0.7875 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2537, allocations: 0 / 0.7875 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.2539, allocations: 169.5 kB / 0.7877 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2539, allocations: 7.938 kB / 0.7877 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.254, allocations: 19.97 kB / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.254, allocations: 0 / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.254, allocations: 4 kB / 0.7877 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.254, allocations: 0 / 0.7877 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.254, allocations: 4 kB / 0.7877 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.2544, allocations: 199.3 kB / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.2544, allocations: 77.48 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2544, allocations: 3.984 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2546, allocations: 15.98 kB / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.2546, allocations: 0 / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2546, allocations: 4 kB / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.2547, allocations: 91.56 kB / 0.7881 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2547, allocations: 7.938 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002088/0.2549, allocations: 8 kB / 0.7881 GB, free: 8.871 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.0001405/0.255, allocations: 103.2 kB / 0.7882 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.2554, allocations: 67.92 kB / 0.7882 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2554, allocations: 4 kB / 0.7882 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2555, allocations: 35.95 kB / 0.7883 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.2559, allocations: 12.17 kB / 0.7883 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.2562, allocations: 174 kB / 0.7885 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2565, allocations: 0.6846 MB / 0.7891 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.2565, allocations: 7.438 kB / 0.7891 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2565, allocations: 0 / 0.7891 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of Templates: time 0.002042/0.2586, allocations: 0.7512 MB / 0.7899 GB, free: 6.977 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)