Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.106/1.106, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.924/1.924, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.267e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001512/0.001534, allocations: 0.721 MB / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002546, allocations: 0.9137 MB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.002584, allocations: 0 / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.002618, allocations: 4.812 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.002692, allocations: 13.08 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.002888, allocations: 20 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.002975, allocations: 43.84 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.003075, allocations: 13.34 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.00317, allocations: 23.97 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.003215, allocations: 19.83 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.003236, allocations: 4 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.003246, allocations: 4.781 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.003264, allocations: 4 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.00329, allocations: 12.92 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.061e-05/0.00338, allocations: 31.91 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003382, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003383, allocations: 0.625 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003387, allocations: 0.5312 kB / 0.8134 GB, free: 15.83 MB / 0.7761 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.0004118/0.003799, allocations: 373.1 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.003839, allocations: 9.281 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.00388, allocations: 12.83 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.003973, allocations: 120.5 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.003987, allocations: 4.375 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.004001, allocations: 2.719 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.004176, allocations: 66.94 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.004188, allocations: 192 / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.004197, allocations: 384 / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.004207, allocations: 4.359 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.004251, allocations: 8.562 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.004574, allocations: 263.8 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.004655, allocations: 40.56 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.004688, allocations: 15.69 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.004709, allocations: 0 / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.004735, allocations: 38.61 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004736, allocations: 0 / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001808/0.004917, allocations: 53.66 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.004945, allocations: 51.91 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.005039, allocations: 173.8 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.005052, allocations: 30.23 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.005103, allocations: 135.7 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.005123, allocations: 7.891 kB / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.005161, allocations: 28.17 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.005297, allocations: 496.1 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.005319, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.005338, allocations: 4.531 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.005383, allocations: 21.05 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005385, allocations: 0 / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.727e-05/0.005472, allocations: 49.59 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.005486, allocations: 7.938 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.00549, allocations: 1.156 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.005509, allocations: 7.984 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.00561, allocations: 8.688 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.005615, allocations: 0 / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.005652, allocations: 8.672 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.00566, allocations: 0 / 0.8154 GB, free: 13.63 MB / 0.7761 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.209e-05/0.005732, allocations: 153.2 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.005758, allocations: 5.312 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.005791, allocations: 11.94 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.005794, allocations: 4 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.005797, allocations: 0.9062 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.0058, allocations: 0 / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.005927, allocations: 116.6 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.00593, allocations: 11.44 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.005985, allocations: 11.92 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005987, allocations: 4 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.005995, allocations: 0 / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.005997, allocations: 3.938 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.005998, allocations: 0 / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.006137, allocations: 191.9 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.006145, allocations: 4.375 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.006158, allocations: 3.984 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.00623, allocations: 12.44 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.006272, allocations: 9.922 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.006276, allocations: 3.938 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.006324, allocations: 127.2 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.006324, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002299/0.006554, allocations: 8 kB / 0.816 GB, free: 12.91 MB / 0.7761 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 8.402e-05/0.006638, allocations: 100.5 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.006739, allocations: 19.67 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.006741, allocations: 5.312 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.006781, allocations: 19.67 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.007049, allocations: 4.531 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.007355, allocations: 127.2 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.007394, allocations: 56.19 kB / 0.8163 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.007419, allocations: 9.219 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.007454, allocations: 16.5 kB / 0.8163 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.007455, allocations: 0 / 0.8163 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of Templates: time 0.002793/0.01025, allocations: 0.7814 MB / 0.8171 GB, free: 11.74 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.475868206936866]