Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 78.33 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 161.2 kB / 23.02 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 177.2 MB / 203.4 MB, free: 8.879 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.824/2.824, allocations: 359.1 MB / 0.6044 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.89 kB / 0.9516 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3523, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002058/0.3544, allocations: 0.6926 MB / 1.118 GB, free: 1.852 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3556, allocations: 0.8821 MB / 1.119 GB, free: 0.957 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.3557, allocations: 0 / 1.119 GB, free: 0.957 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.3557, allocations: 3.938 kB / 1.119 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.3558, allocations: 19.91 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.356, allocations: 15.92 kB / 1.119 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3561, allocations: 39.92 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3562, allocations: 11.97 kB / 1.119 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.3562, allocations: 27.92 kB / 1.119 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.3563, allocations: 19.86 kB / 1.119 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3563, allocations: 4 kB / 1.119 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.3563, allocations: 4 kB / 1.119 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3563, allocations: 4 kB / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.3564, allocations: 19.91 kB / 1.119 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3565, allocations: 43.75 kB / 1.119 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3565, allocations: 0 / 1.119 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3565, allocations: 0 / 1.119 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3565, allocations: 0 / 1.119 GB, free: 0.7461 MB / 1.061 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.00056/0.3571, allocations: 290.2 kB / 1.12 GB, free: 440 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3571, allocations: 12.03 kB / 1.12 GB, free: 428 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.3571, allocations: 0.9375 kB / 1.12 GB, free: 428 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3573, allocations: 122.4 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3573, allocations: 384 / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3573, allocations: 4.375 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.3576, allocations: 66.22 kB / 1.12 GB, free: 204 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3576, allocations: 4.125 kB / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.3576, allocations: 11.88 kB / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3576, allocations: 4 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.3579, allocations: 59.92 kB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.3583, allocations: 204.6 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3586, allocations: 54.53 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.3587, allocations: 44.86 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3587, allocations: 3.938 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3588, allocations: 34.55 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3588, allocations: 0 / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0006314/0.3594, allocations: 133.5 kB / 1.12 GB, free: 15.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3595, allocations: 51.41 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3596, allocations: 117.8 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3596, allocations: 25.7 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.3597, allocations: 88.12 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.3597, allocations: 7.953 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3598, allocations: 13.72 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.36, allocations: 322.8 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3601, allocations: 39.89 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3603, allocations: 31.97 kB / 1.121 GB, free: 14.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.3606, allocations: 68.78 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3606, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003502/0.361, allocations: 105.5 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.361, allocations: 4 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.361, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.361, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3611, allocations: 19.97 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3612, allocations: 0 / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.765e-05/0.3612, allocations: 15.92 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3613, allocations: 3.938 kB / 1.121 GB, free: 14.64 MB / 1.076 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.0002198/0.3615, allocations: 117.8 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3615, allocations: 7.891 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.3615, allocations: 12.31 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3615, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3615, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3616, allocations: 3.984 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3617, allocations: 113.3 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3617, allocations: 0 / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3618, allocations: 15.92 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3618, allocations: 4 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3618, allocations: 4 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3618, allocations: 4 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3618, allocations: 0 / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.3623, allocations: 191.4 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.3623, allocations: 19.83 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3623, allocations: 0 / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3624, allocations: 15.98 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.3625, allocations: 3.984 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3625, allocations: 4 kB / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.446e-05/0.3625, allocations: 83.28 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3625, allocations: 0 / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002231/0.3628, allocations: 8 kB / 1.122 GB, free: 13.99 MB / 1.076 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.0001686/0.3629, allocations: 95.23 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.3633, allocations: 75.86 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3633, allocations: 0 / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3635, allocations: 39.91 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3638, allocations: 10.95 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.3642, allocations: 129.4 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3643, allocations: 67.34 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.3644, allocations: 4 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3644, allocations: 8.5 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3644, allocations: 0 / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of Templates: time 0.003908/0.3683, allocations: 0.7745 MB / 1.123 GB, free: 12.75 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.954725482035428]