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.001593/0.001593, 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.001807/0.001807, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.55 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3788, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002224/0.3811, allocations: 0.7015 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3822, allocations: 0.884 MB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.3823, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.3823, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.3824, allocations: 7.875 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3827, allocations: 19.97 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3828, allocations: 47.86 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3829, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.383, allocations: 23.86 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.3831, allocations: 31.89 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3831, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.3831, allocations: 4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.3832, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3832, allocations: 23.86 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.703e-05/0.3833, allocations: 35.88 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3833, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3833, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3833, allocations: 0 / 1.07 GB, free: 8.602 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.0005742/0.3839, allocations: 363.7 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.384, allocations: 8.031 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.384, allocations: 8.844 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3841, allocations: 168.3 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3842, allocations: 8.375 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3842, allocations: 384 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3844, allocations: 62.22 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3845, allocations: 4.188 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3845, allocations: 15.88 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3845, allocations: 0 / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.3848, allocations: 63.92 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.3852, allocations: 264.9 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3854, allocations: 66.47 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3856, allocations: 32.92 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3856, allocations: 3.938 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3856, allocations: 34.56 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3857, allocations: 4 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005688/0.3862, allocations: 129.6 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3863, allocations: 55.41 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.3864, allocations: 109.8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3864, allocations: 29.7 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3865, allocations: 88.05 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3865, allocations: 3.906 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3865, allocations: 21.64 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3867, allocations: 314.8 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.3868, allocations: 35.91 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.387, allocations: 39.89 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.3873, allocations: 68.78 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3873, allocations: 3.938 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003443/0.3877, allocations: 97.62 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3877, allocations: 5.562 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.3877, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3877, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3879, allocations: 15.98 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.3879, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.388, allocations: 15.97 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.388, allocations: 0 / 1.072 GB, free: 6.277 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 0.0001122/0.3881, allocations: 125.7 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3882, allocations: 3.906 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.3882, allocations: 7.906 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3883, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3883, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3883, allocations: 4 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3885, allocations: 169.6 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3885, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.3886, allocations: 11.98 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3886, allocations: 8 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3886, allocations: 4 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3886, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3886, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.389, allocations: 191.4 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.3891, allocations: 92.95 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3891, allocations: 3.938 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3892, allocations: 7.984 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.3893, allocations: 11.98 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3893, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.3894, allocations: 91.58 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3894, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002245/0.3896, allocations: 4 kB / 1.073 GB, free: 5.449 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.0001761/0.3898, allocations: 111.7 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.3902, allocations: 67.92 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3902, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3903, allocations: 36.38 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3907, allocations: 19.92 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.3912, allocations: 133.3 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3915, allocations: 0.6807 MB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.3915, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.3916, allocations: 15.44 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3916, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of Templates: time 0.003061/0.3946, allocations: 0.7185 MB / 1.074 GB, free: 3.625 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)