Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001789/0.001789, allocations: 112.7 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.002104/0.002104, allocations: 190 kB / 22.22 MB, free: 5.105 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.563/1.563, allocations: 225.6 MB / 251 MB, free: 13.05 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.806/2.806, allocations: 476.7 MB / 0.7646 GB, free: 9.918 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.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.89 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9852/0.9873, allocations: 168.8 MB / 1.274 GB, free: 4.238 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00288/0.9902, allocations: 1.07 MB / 1.275 GB, free: 3.168 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001724/0.9919, allocations: 1 MB / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.992, allocations: 4 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.9922, allocations: 19.73 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.9923, allocations: 27.73 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.9926, allocations: 75.8 kB / 1.277 GB, free: 2.031 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002724/0.9929, allocations: 180 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.993, allocations: 64.25 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.9932, allocations: 71.77 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.9933, allocations: 75.62 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.9933, allocations: 16 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.9934, allocations: 16 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.9934, allocations: 39.89 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 9.781e-05/0.9935, allocations: 83.53 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.9938, allocations: 181.8 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9938, allocations: 0 / 1.277 GB, free: 1.32 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.333e-06/0.9938, allocations: 0 / 1.277 GB, free: 1.32 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.145e-05/0.9938, allocations: 0 / 1.277 GB, free: 1.32 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: 36
 * Number of variables: 36
Notification: Performance of Generate backend data structure: time 0.0008764/0.9947, allocations: 434.2 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.9947, allocations: 12.03 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.9948, allocations: 20.84 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.9951, allocations: 162.8 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.9951, allocations: 12.38 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.9952, allocations: 16.38 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.9955, allocations: 158.7 kB / 1.278 GB, free: 468 kB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9955, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.9955, allocations: 4 kB / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.9956, allocations: 8 kB / 1.278 GB, free: 456 kB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.9958, allocations: 111.9 kB / 1.278 GB, free: 344 kB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.997, allocations: 0.5031 MB / 1.279 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.9974, allocations: 130.7 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.9976, allocations: 80.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.9976, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.9979, allocations: 121.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.9979, allocations: 3.938 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=19): time 0.0005699/0.9985, allocations: 225.4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.9985, allocations: 55.41 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.9987, allocations: 164.4 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.9987, allocations: 29.7 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.9988, allocations: 120.5 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.9989, allocations: 71.41 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.999, allocations: 37.7 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001649/0.9991, allocations: 326.8 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.9993, allocations: 67.95 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.9995, allocations: 85.67 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.9999, allocations: 148 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9999, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005089/1, allocations: 213.5 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1, allocations: 7.938 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1, allocations: 3.984 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1, allocations: 4 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/1.001, allocations: 39.92 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.001, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/1.001, allocations: 31.81 kB / 1.281 GB, free: 13.77 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/1.001, allocations: 8 kB / 1.281 GB, free: 13.76 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (23):
 * Single equations (assignments): 23
 * 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.0001313/1.001, allocations: 133.8 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/1.001, allocations: 15.91 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/1.001, allocations: 188.6 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.001, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.001, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.001, allocations: 4 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009483/1.002, allocations: 0.5529 MB / 1.281 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.002, allocations: 4.172 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/1.003, allocations: 43.92 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.003, allocations: 7.938 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/1.003, allocations: 4 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.003, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.003, allocations: 4 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/1.003, allocations: 386.2 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/1.003, allocations: 23.78 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/1.003, allocations: 8 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/1.004, allocations: 24.02 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/1.004, allocations: 19.91 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/1.004, allocations: 12 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001274/1.004, allocations: 120.9 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.004, allocations: 0 / 1.282 GB, free: 12.12 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002977/1.004, allocations: 35.89 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (der2.x,intWitRes.y,der1.x)
 * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y)
 * Number of discrete states: 1 (lesThr.lesHys.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (19):
 * Single equations (assignments): 19
 * 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.0002256/1.004, allocations: 111.2 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004838/1.005, allocations: 151.7 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.005, allocations: 0 / 1.282 GB, free: 11.82 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002117/1.005, allocations: 83.84 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/1.005, allocations: 32.88 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/1.006, allocations: 386.7 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.007, allocations: 0.7243 MB / 1.283 GB, free: 10.53 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.194e-05/1.007, allocations: 21.36 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/1.007, allocations: 23.52 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.71e-07/1.007, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB
Notification: Performance of Templates: time 0.005828/1.013, allocations: 1.878 MB / 1.285 GB, free: 8.617 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.507295726798475]