Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009344, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006804/0.006804, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 10.84 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.416, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001133/0.4172, allocations: 442.6 kB / 1.075 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.4184, allocations: 0.8625 MB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.4185, allocations: 0 / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.4185, allocations: 0 / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.4186, allocations: 7.922 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.4188, allocations: 15.98 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.419, allocations: 47.78 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4191, allocations: 12 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.4192, allocations: 19.92 kB / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.4193, allocations: 15.92 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.4193, allocations: 4 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.4194, allocations: 0 / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.4194, allocations: 3.984 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.4195, allocations: 45.56 kB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.4196, allocations: 35.86 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4196, allocations: 4 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4196, allocations: 0 / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4196, allocations: 4 kB / 1.076 GB, free: 6.023 MB / 0.8262 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.0006386/0.4203, allocations: 359.7 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4204, allocations: 8.031 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.4204, allocations: 4.938 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4206, allocations: 180.2 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4206, allocations: 8.359 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.4206, allocations: 384 / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.4209, allocations: 86.14 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.421, allocations: 192 / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.421, allocations: 7.938 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.421, allocations: 0 / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.4213, allocations: 87.92 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.4218, allocations: 261 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.422, allocations: 70.42 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.4222, allocations: 48.91 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.4223, allocations: 4 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.4223, allocations: 38.56 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.4223, allocations: 0 / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006425/0.423, allocations: 157.5 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.423, allocations: 59.39 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.4231, allocations: 109.8 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4231, allocations: 33.64 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.4232, allocations: 92.08 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.4232, allocations: 7.812 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.4233, allocations: 9.719 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4234, allocations: 318.8 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.4236, allocations: 43.97 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4237, allocations: 43.91 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.4241, allocations: 92.78 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4241, allocations: 3.938 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004435/0.4245, allocations: 117.6 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4246, allocations: 11.98 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4246, allocations: 0 / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4246, allocations: 0 / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.4247, allocations: 23.92 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4248, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.4248, allocations: 15.98 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4249, allocations: 4 kB / 1.078 GB, free: 3.535 MB / 0.8262 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 9.103e-05/0.425, allocations: 117.8 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.425, allocations: 3.906 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.425, allocations: 11.89 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.425, allocations: 0 / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4251, allocations: 0 / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4251, allocations: 4.328 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.4252, allocations: 169.6 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4253, allocations: 0 / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.4254, allocations: 27.97 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4255, allocations: 0 / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4255, allocations: 0 / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4255, allocations: 0 / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4255, allocations: 3.984 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.4259, allocations: 219.4 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.426, allocations: 92.95 kB / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.426, allocations: 3.984 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.4261, allocations: 15.98 kB / 1.078 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.4262, allocations: 4 kB / 1.078 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-06/0.4262, allocations: 4 kB / 1.078 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.4262, allocations: 87.27 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4262, allocations: 0 / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002206/0.4265, allocations: 8 kB / 1.079 GB, free: 2.676 MB / 0.8262 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.0001528/0.4266, allocations: 99.25 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.427, allocations: 91.92 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.427, allocations: 0 / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.4272, allocations: 59.77 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.4275, allocations: 17.83 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.4279, allocations: 128.6 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.4282, allocations: 0.6809 MB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.4282, allocations: 7.984 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.4283, allocations: 11.44 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.4283, allocations: 0 / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of Templates: time 0.002968/0.4312, allocations: 0.5733 MB / 1.08 GB, free: 0.9648 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1)