Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001656/0.001656, allocations: 101.8 kB / 18.83 MB, free: 3.023 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.002025/0.002025, allocations: 193.5 kB / 22.1 MB, free: 4.625 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.535/1.535, allocations: 225.6 MB / 250.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.51/3.51, allocations: 495.8 MB / 0.783 GB, free: 33.35 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 62.45 kB / 1.137 GB, free: 33.98 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4502, allocations: 173.6 MB / 1.307 GB, free: 1.969 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002135/0.4523, allocations: 0.7188 MB / 1.307 GB, free: 1.25 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001159/0.4535, allocations: 0.8784 MB / 1.308 GB, free: 368 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.4535, allocations: 0 / 1.308 GB, free: 368 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.4536, allocations: 3.938 kB / 1.308 GB, free: 364 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.4536, allocations: 7.938 kB / 1.308 GB, free: 356 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.4538, allocations: 11.98 kB / 1.308 GB, free: 344 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.4539, allocations: 51.84 kB / 1.308 GB, free: 292 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.454, allocations: 8 kB / 1.308 GB, free: 284 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.4541, allocations: 19.92 kB / 1.308 GB, free: 264 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.4542, allocations: 19.92 kB / 1.308 GB, free: 244 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.4542, allocations: 4 kB / 1.308 GB, free: 240 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.4542, allocations: 4 kB / 1.308 GB, free: 236 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.4542, allocations: 15.91 kB / 1.308 GB, free: 220 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.4543, allocations: 11.94 kB / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.4544, allocations: 47.73 kB / 1.309 GB, free: 160 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4544, allocations: 0 / 1.309 GB, free: 160 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.683e-06/0.4544, allocations: 0 / 1.309 GB, free: 160 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.251e-06/0.4544, allocations: 4 kB / 1.309 GB, free: 156 kB / 0.9981 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.0005863/0.455, allocations: 290.2 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.455, allocations: 8.031 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.455, allocations: 4.891 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4552, allocations: 118.4 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4552, allocations: 4.375 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.4552, allocations: 384 / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.4555, allocations: 78.14 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4555, allocations: 192 / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4555, allocations: 7.938 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4555, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.4558, allocations: 63.92 kB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.4562, allocations: 240 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.4565, allocations: 62.41 kB / 1.309 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.4566, allocations: 36.92 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4567, allocations: 3.984 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4567, allocations: 34.56 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4567, allocations: 0 / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0006147/0.4573, allocations: 125.6 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4574, allocations: 55.34 kB / 1.31 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4575, allocations: 109.8 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4575, allocations: 29.7 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.4575, allocations: 88.12 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.4576, allocations: 11.91 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.4576, allocations: 13.72 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001501/0.4578, allocations: 318.8 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4579, allocations: 27.97 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.458, allocations: 31.97 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.4583, allocations: 68.78 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4583, allocations: 3.938 kB / 1.31 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003343/0.4587, allocations: 101.6 kB / 1.31 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4587, allocations: 9.031 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4587, allocations: 3.984 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4587, allocations: 3.938 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4588, allocations: 15.98 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4588, allocations: 0 / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.4589, allocations: 15.94 kB / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4589, allocations: 0 / 1.31 GB, free: 14.02 MB / 1.014 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.0001223/0.4591, allocations: 122.5 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.4591, allocations: 4 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.4591, allocations: 7.984 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4591, allocations: 336 / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4591, allocations: 0 / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4591, allocations: 4 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.4593, allocations: 144.6 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4593, allocations: 3.984 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4594, allocations: 27.91 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4594, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4594, allocations: 4 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4594, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4594, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.4598, allocations: 203.3 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.4598, allocations: 0 / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4599, allocations: 4 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.46, allocations: 11.97 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.46, allocations: 8 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.46, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.467e-05/0.4601, allocations: 87.27 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4601, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002225/0.4603, allocations: 8 kB / 1.311 GB, free: 13.32 MB / 1.014 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.0001649/0.4605, allocations: 99.25 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003887/0.4609, allocations: 63.92 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4609, allocations: 3.938 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.461, allocations: 43.95 kB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4614, allocations: 11.88 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.4617, allocations: 121.5 kB / 1.311 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.4621, allocations: 0.6807 MB / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.674e-05/0.4621, allocations: 0 / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.4621, allocations: 15.38 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of SimCode: time 5.21e-07/0.4621, allocations: 4 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of Templates: time 0.003532/0.4657, allocations: 0.748 MB / 1.313 GB, free: 11.48 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.923817040398717]