Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 193.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 443.5 MB / 0.732 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 67.88 kB / 1.061 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9749/0.9772, allocations: 160.7 MB / 1.218 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002101/0.9793, allocations: 0.7149 MB / 1.219 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.9805, allocations: 0.868 MB / 1.22 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.9805, allocations: 1.406 kB / 1.22 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.9806, allocations: 4 kB / 1.22 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.9806, allocations: 13.09 kB / 1.22 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.9808, allocations: 20.66 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.9809, allocations: 48.06 kB / 1.22 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.981, allocations: 3.969 kB / 1.22 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.9811, allocations: 20.77 kB / 1.22 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.9812, allocations: 25.75 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.9812, allocations: 3.969 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.9812, allocations: 3.312 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.9812, allocations: 5.312 kB / 1.22 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.9813, allocations: 27.66 kB / 1.22 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.9814, allocations: 41.61 kB / 1.22 GB, free: 2.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9814, allocations: 1.156 kB / 1.22 GB, free: 2.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9814, allocations: 0 / 1.22 GB, free: 2.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.9814, allocations: 0 / 1.22 GB, free: 2.676 MB / 0.92 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.0006384/0.982, allocations: 360.9 kB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.9821, allocations: 10.62 kB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.9821, allocations: 6.297 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.9823, allocations: 174.8 kB / 1.221 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.9823, allocations: 5.906 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.9823, allocations: 1.656 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.9826, allocations: 72.44 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.9826, allocations: 192 / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.9826, allocations: 3.938 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.9826, allocations: 1.188 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.9829, allocations: 67.48 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.9834, allocations: 266 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.9836, allocations: 60.22 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.9837, allocations: 38.86 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.9838, allocations: 1.062 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.9838, allocations: 31.81 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9838, allocations: 0 / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0006057/0.9844, allocations: 134.3 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.9845, allocations: 59.34 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.9846, allocations: 116.1 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.9846, allocations: 25.7 kB / 1.221 GB, free: 1.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.9847, allocations: 90.34 kB / 1.221 GB, free: 1.199 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.9847, allocations: 16.89 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.9847, allocations: 12 kB / 1.222 GB, free: 1.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.9849, allocations: 320.9 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.985, allocations: 37.55 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.9852, allocations: 28.81 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.9855, allocations: 71.38 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9855, allocations: 4.969 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003412/0.9858, allocations: 93.31 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9858, allocations: 5.25 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9858, allocations: 0 / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9859, allocations: 1.094 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.986, allocations: 26.12 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.986, allocations: 0 / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.9861, allocations: 11.17 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.9861, allocations: 1.094 kB / 1.222 GB, free: 0.6953 MB / 0.92 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.581e-05/0.9862, allocations: 117.5 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.9862, allocations: 5.828 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.9863, allocations: 4.875 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.9863, allocations: 1.125 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9863, allocations: 8 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9863, allocations: 1.125 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.9865, allocations: 172.9 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9865, allocations: 0 / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.9866, allocations: 14.95 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9866, allocations: 0 / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.9866, allocations: 1.094 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9866, allocations: 0 / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9866, allocations: 1.219 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.987, allocations: 204.4 kB / 1.223 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.9871, allocations: 82.16 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.9872, allocations: 0 / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.9873, allocations: 11.7 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.9873, allocations: 14.17 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.9873, allocations: 1.125 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.9874, allocations: 88.55 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9874, allocations: 0.9062 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002366/0.9876, allocations: 6.25 kB / 1.223 GB, free: 15.97 MB / 0.9356 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.0001575/0.9878, allocations: 97.91 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.9882, allocations: 74.52 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9882, allocations: 3.938 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.9883, allocations: 36.78 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.9887, allocations: 15.83 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.9891, allocations: 139.3 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.9894, allocations: 0.6833 MB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.9895, allocations: 1.25 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.9895, allocations: 14.19 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.9895, allocations: 0 / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.004535/0.9941, allocations: 0.7274 MB / 1.225 GB, free: 14.61 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.035057066008449]