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.001377/0.001377, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001568/0.001569, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.589/1.589, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.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.958/1.958, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.00156/0.00156, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3272, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002716/0.33, allocations: 0.7062 MB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3314, allocations: 0.8749 MB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.3315, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.3316, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.3317, allocations: 7.875 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.332, allocations: 19.97 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3322, allocations: 39.91 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.3324, allocations: 8 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3325, allocations: 23.86 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.3326, allocations: 27.91 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.3327, allocations: 4 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.3327, allocations: 7.938 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.3327, allocations: 7.938 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.3328, allocations: 19.91 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.333, allocations: 39.88 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.333, allocations: 0 / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.629e-06/0.333, allocations: 0 / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.333, allocations: 4 kB / 0.7866 GB, free: 1.34 MB / 0.6544 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.0008606/0.3339, allocations: 359.4 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 8.3e-05/0.334, allocations: 12.03 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.3341, allocations: 4.844 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3343, allocations: 172.3 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3343, allocations: 384 / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.3343, allocations: 8.312 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.3346, allocations: 70.16 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3346, allocations: 192 / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3347, allocations: 7.938 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3347, allocations: 0 / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.335, allocations: 63.92 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3354, allocations: 264.9 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.3357, allocations: 66.47 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3359, allocations: 40.86 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3359, allocations: 0 / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3359, allocations: 30.56 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3359, allocations: 0 / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.4354/0.7714, allocations: 130.3 kB / 0.7877 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.7715, allocations: 52.12 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.7716, allocations: 106.2 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.7716, allocations: 26.42 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.7716, allocations: 91.14 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.7717, allocations: 4.094 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.7717, allocations: 18.33 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.7718, allocations: 316 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.7719, allocations: 37.28 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.772, allocations: 30 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.7723, allocations: 72.84 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7723, allocations: 0 / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003184/0.7727, allocations: 100.7 kB / 0.7885 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7727, allocations: 5.25 kB / 0.7885 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7727, allocations: 1 kB / 0.7885 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7727, allocations: 0.5 kB / 0.7885 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.7729, allocations: 20.58 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7729, allocations: 2.625 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.773, allocations: 9.875 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.773, allocations: 7.297 kB / 0.7886 GB, free: 48.26 MB / 0.6544 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 5.584e-05/0.773, allocations: 114.7 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.7731, allocations: 4.812 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.7731, allocations: 17.53 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7731, allocations: 0 / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7731, allocations: 0.875 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.7731, allocations: 84.81 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.7732, allocations: 4.5 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.7733, allocations: 12.67 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.7733, allocations: 9.125 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003699/0.7737, allocations: 189.9 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003473/0.7741, allocations: 279.2 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001465/0.7742, allocations: 33.97 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.7743, allocations: 86.02 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of Backend: time 7.32e-07/0.7743, allocations: 3.781 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.7747, allocations: 112.9 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004256/0.7752, allocations: 0.5634 MB / 0.79 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.00286/0.7781, allocations: 0.8704 MB / 0.7909 GB, free: 47.02 MB / 0.6544 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)