Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001351/0.001351, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00168/0.00168, allocations: 189.9 kB / 22.23 MB, free: 5.102 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.495/1.495, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.335/3.335, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 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-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 68.98 kB / 1.145 GB, free: 30.58 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5064, allocations: 174.9 MB / 1.316 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002152/0.5086, allocations: 0.7123 MB / 1.317 GB, free: 8.93 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.00121/0.5098, allocations: 0.8745 MB / 1.318 GB, free: 8.043 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.5098, allocations: 0 / 1.318 GB, free: 8.043 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.5099, allocations: 3.938 kB / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.51, allocations: 7.922 kB / 1.318 GB, free: 8.031 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.5102, allocations: 23.98 kB / 1.318 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001084/0.5103, allocations: 51.78 kB / 1.318 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.5104, allocations: 4 kB / 1.318 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.5105, allocations: 27.86 kB / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.5105, allocations: 15.92 kB / 1.318 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.5106, allocations: 4 kB / 1.318 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.5106, allocations: 4 kB / 1.318 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.5106, allocations: 15.97 kB / 1.318 GB, free: 7.887 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.5106, allocations: 15.88 kB / 1.318 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.5108, allocations: 43.8 kB / 1.318 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5108, allocations: 4 kB / 1.318 GB, free: 7.824 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.5108, allocations: 0 / 1.318 GB, free: 7.824 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.514e-06/0.5108, allocations: 0 / 1.318 GB, free: 7.824 MB / 1.014 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.0005879/0.5114, allocations: 282.3 kB / 1.318 GB, free: 7.516 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5114, allocations: 12.03 kB / 1.318 GB, free: 7.504 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.5114, allocations: 4.891 kB / 1.318 GB, free: 7.5 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.5115, allocations: 110.5 kB / 1.318 GB, free: 7.367 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5116, allocations: 384 / 1.318 GB, free: 7.367 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.5116, allocations: 12.31 kB / 1.318 GB, free: 7.355 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.5118, allocations: 70.2 kB / 1.318 GB, free: 7.281 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5119, allocations: 192 / 1.318 GB, free: 7.281 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.5119, allocations: 3.938 kB / 1.318 GB, free: 7.277 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.5119, allocations: 4 kB / 1.318 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.5122, allocations: 63.92 kB / 1.318 GB, free: 7.211 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.5126, allocations: 240 kB / 1.319 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.5128, allocations: 62.41 kB / 1.319 GB, free: 6.863 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.513, allocations: 36.92 kB / 1.319 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.513, allocations: 7.984 kB / 1.319 GB, free: 6.816 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.513, allocations: 30.56 kB / 1.319 GB, free: 6.777 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.513, allocations: 0 / 1.319 GB, free: 6.777 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005783/0.5136, allocations: 121.6 kB / 1.319 GB, free: 6.652 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.5137, allocations: 63.34 kB / 1.319 GB, free: 6.578 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5138, allocations: 109.8 kB / 1.319 GB, free: 6.461 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5138, allocations: 25.7 kB / 1.319 GB, free: 6.43 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.5139, allocations: 96.08 kB / 1.319 GB, free: 6.332 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.5139, allocations: 3.953 kB / 1.319 GB, free: 6.328 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.5139, allocations: 17.72 kB / 1.319 GB, free: 6.305 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001687/0.5141, allocations: 314.8 kB / 1.319 GB, free: 5.988 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.5142, allocations: 31.97 kB / 1.319 GB, free: 5.957 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.5144, allocations: 31.97 kB / 1.32 GB, free: 5.926 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.5147, allocations: 64.78 kB / 1.32 GB, free: 5.859 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5147, allocations: 3.938 kB / 1.32 GB, free: 5.855 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003279/0.515, allocations: 109.5 kB / 1.32 GB, free: 5.742 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.515, allocations: 8 kB / 1.32 GB, free: 5.734 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.515, allocations: 3.984 kB / 1.32 GB, free: 5.73 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5151, allocations: 3.938 kB / 1.32 GB, free: 5.727 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.5152, allocations: 19.98 kB / 1.32 GB, free: 5.707 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.5152, allocations: 320 / 1.32 GB, free: 5.707 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.5153, allocations: 12.31 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5153, allocations: 4 kB / 1.32 GB, free: 5.691 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 9.56e-05/0.5154, allocations: 110.3 kB / 1.32 GB, free: 5.574 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.5154, allocations: 4 kB / 1.32 GB, free: 5.57 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.5155, allocations: 15.97 kB / 1.32 GB, free: 5.543 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5155, allocations: 0 / 1.32 GB, free: 5.543 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5155, allocations: 0 / 1.32 GB, free: 5.543 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5155, allocations: 0 / 1.32 GB, free: 5.543 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.5157, allocations: 144.6 kB / 1.32 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5157, allocations: 8 kB / 1.32 GB, free: 5.352 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.5158, allocations: 15.97 kB / 1.32 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5158, allocations: 0 / 1.32 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5158, allocations: 0 / 1.32 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5158, allocations: 4 kB / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5158, allocations: 0 / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.5162, allocations: 203.3 kB / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.5162, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5162, allocations: 4 kB / 1.32 GB, free: 5.113 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.5163, allocations: 11.97 kB / 1.32 GB, free: 5.102 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.5163, allocations: 4 kB / 1.32 GB, free: 5.098 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.5164, allocations: 7.938 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.465e-05/0.5164, allocations: 91.25 kB / 1.32 GB, free: 5 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.5164, allocations: 4 kB / 1.32 GB, free: 4.996 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000212/0.5166, allocations: 8 kB / 1.32 GB, free: 4.988 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.0001437/0.5168, allocations: 95.25 kB / 1.32 GB, free: 4.887 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000367/0.5171, allocations: 67.86 kB / 1.32 GB, free: 4.82 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5171, allocations: 0 / 1.32 GB, free: 4.82 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.000159/0.5173, allocations: 39.95 kB / 1.321 GB, free: 4.781 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.5176, allocations: 7.938 kB / 1.321 GB, free: 4.773 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.518, allocations: 129.3 kB / 1.321 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.5183, allocations: 0.6807 MB / 1.321 GB, free: 3.914 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.034e-05/0.5184, allocations: 4 kB / 1.321 GB, free: 3.91 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.5184, allocations: 11.44 kB / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of SimCode: time 6.31e-07/0.5184, allocations: 0 / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of Templates: time 0.003504/0.5219, allocations: 0.7448 MB / 1.322 GB, free: 3.16 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.61125202756375]