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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001536/0.001536, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.484/1.484, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 62.88 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3934, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002489/0.396, allocations: 0.7672 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3974, allocations: 0.8702 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.3975, allocations: 3.938 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.3975, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.3976, allocations: 7.922 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3979, allocations: 19.98 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.3979, allocations: 43.92 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3981, allocations: 7.984 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.3981, allocations: 15.92 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.3982, allocations: 23.92 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3982, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.3982, allocations: 7.938 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.3983, allocations: 3.984 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.3983, allocations: 19.86 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.3984, allocations: 39.88 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3984, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3984, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3984, allocations: 0 / 1.069 GB, free: 9.055 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.0006357/0.3991, allocations: 365.4 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3991, allocations: 8.031 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.3992, allocations: 8.844 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3994, allocations: 164.3 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3994, allocations: 8.375 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3994, allocations: 384 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.3997, allocations: 66.22 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3997, allocations: 4.188 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3997, allocations: 3.938 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3998, allocations: 0 / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.4, allocations: 71.86 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.4004, allocations: 264.9 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.4007, allocations: 62.47 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4008, allocations: 36.92 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.4009, allocations: 7.984 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4009, allocations: 42.48 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/0.4009, allocations: 0 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005697/0.4015, allocations: 129.5 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4015, allocations: 51.41 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.4016, allocations: 109.8 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.4017, allocations: 25.7 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.4017, allocations: 92.03 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4017, allocations: 7.906 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.4018, allocations: 13.72 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4019, allocations: 322.8 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4021, allocations: 31.95 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4022, allocations: 27.97 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4025, allocations: 76.72 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4025, allocations: 3.938 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003154/0.4028, allocations: 93.95 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4028, allocations: 5.562 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4028, allocations: 0 / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4028, allocations: 4 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.403, allocations: 19.97 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.403, allocations: 4 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.4031, allocations: 11.98 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.4031, allocations: 0 / 1.071 GB, free: 6.73 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 8.345e-05/0.4032, allocations: 113.8 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.4032, allocations: 7.891 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.4033, allocations: 15.84 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4033, allocations: 3.984 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4033, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4033, allocations: 4 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.4035, allocations: 169.6 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4035, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4036, allocations: 15.98 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4036, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4036, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4037, allocations: 3.984 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4037, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.404, allocations: 195.4 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.4041, allocations: 88.95 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4041, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4043, allocations: 19.91 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.4043, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4043, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.4044, allocations: 99.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4044, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002184/0.4046, allocations: 8 kB / 1.072 GB, free: 5.898 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.0001974/0.4048, allocations: 96.94 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.4052, allocations: 71.92 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4052, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4053, allocations: 39.95 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4057, allocations: 11.88 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.4061, allocations: 139.1 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.4063, allocations: 0.6848 MB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.4064, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.4064, allocations: 7.438 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4064, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.002893/0.4093, allocations: 0.5909 MB / 1.074 GB, free: 4.211 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)