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.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.001602/0.001602, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002084/0.002084, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.508/1.508, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.819/2.819, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 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.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_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: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.89 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9357/0.9379, allocations: 168.8 MB / 1.274 GB, free: 4.176 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002267/0.9402, allocations: 0.715 MB / 1.275 GB, free: 3.465 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001274/0.9414, allocations: 0.8819 MB / 1.276 GB, free: 2.57 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.9415, allocations: 0 / 1.276 GB, free: 2.57 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.9415, allocations: 3.938 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.9416, allocations: 11.94 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.9418, allocations: 11.98 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001211/0.9419, allocations: 51.84 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.942, allocations: 11.98 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.9421, allocations: 15.92 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.9422, allocations: 19.92 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.9422, allocations: 4 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.9422, allocations: 4 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.9422, allocations: 15.92 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.9422, allocations: 7.938 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.9424, allocations: 51.45 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9424, allocations: 8 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.803e-06/0.9424, allocations: 0 / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.392e-06/0.9424, allocations: 0 / 1.276 GB, free: 2.359 MB / 0.9669 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.0006212/0.943, allocations: 288.9 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.943, allocations: 8.031 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.9431, allocations: 12.83 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.9432, allocations: 106.5 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.9432, allocations: 8.375 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.9432, allocations: 4.375 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.9435, allocations: 62.22 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.9435, allocations: 8.172 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.9435, allocations: 7.938 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9435, allocations: 0 / 1.277 GB, free: 1.805 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.9438, allocations: 63.94 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.9442, allocations: 235.9 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.9444, allocations: 62.47 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.9445, allocations: 36.92 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.9446, allocations: 0 / 1.277 GB, free: 1.359 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.9446, allocations: 34.56 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.9446, allocations: 0 / 1.277 GB, free: 1.316 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0005357/0.9451, allocations: 137.5 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.9452, allocations: 51.41 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.9453, allocations: 109.8 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.9453, allocations: 25.7 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.9454, allocations: 84.14 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.9454, allocations: 19.83 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.9454, allocations: 13.72 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001518/0.9456, allocations: 318.8 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.9457, allocations: 35.95 kB / 1.278 GB, free: 496 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.9459, allocations: 27.97 kB / 1.278 GB, free: 468 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.9461, allocations: 68.78 kB / 1.278 GB, free: 396 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9461, allocations: 7.938 kB / 1.278 GB, free: 388 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002957/0.9464, allocations: 97.56 kB / 1.278 GB, free: 284 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.9464, allocations: 4 kB / 1.278 GB, free: 280 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9464, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9465, allocations: 3.938 kB / 1.278 GB, free: 276 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.9466, allocations: 19.97 kB / 1.278 GB, free: 256 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.9466, allocations: 4 kB / 1.278 GB, free: 252 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.9467, allocations: 15.94 kB / 1.278 GB, free: 236 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.9467, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 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.168e-05/0.9468, allocations: 117.8 kB / 1.278 GB, free: 108 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.9468, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.9468, allocations: 4 kB / 1.278 GB, free: 100 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.9468, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9468, allocations: 3.984 kB / 1.278 GB, free: 92 kB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.9468, allocations: 4 kB / 1.278 GB, free: 88 kB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.947, allocations: 144.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.947, allocations: 3.938 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.004e-05/0.9471, allocations: 11.98 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9471, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.9471, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9471, allocations: 3.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9471, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.9475, allocations: 203.4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.9475, allocations: 4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9475, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9476, allocations: 11.98 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.9477, allocations: 7.984 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.9477, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.204e-05/0.9478, allocations: 95.27 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 6e-08/0.9478, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002167/0.948, allocations: 4 kB / 1.279 GB, free: 15.54 MB / 0.9825 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.0001779/0.9482, allocations: 95.25 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003473/0.9485, allocations: 76.23 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9485, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.9486, allocations: 35.95 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.949, allocations: 12.48 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.9494, allocations: 121.5 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.9498, allocations: 0.6769 MB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.597e-05/0.9498, allocations: 11.98 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.9499, allocations: 11.38 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.81e-07/0.9499, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003871/0.9537, allocations: 0.7393 MB / 1.28 GB, free: 13.71 MB / 0.9825 GB
"
[Timeout remaining time 299]
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  -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/jenkins/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: 9.409995565190911]