Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001674/0.001674, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002865/0.002865, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.01 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.192/3.192, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 76.12 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3938, allocations: 174.9 MB / 1.316 GB, free: 9.645 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002148/0.3959, allocations: 0.6661 MB / 1.317 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001138/0.397, allocations: 0.8238 MB / 1.318 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.3971, allocations: 4 kB / 1.318 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.3971, allocations: 0 / 1.318 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.3972, allocations: 7.922 kB / 1.318 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.3973, allocations: 11.98 kB / 1.318 GB, free: 8.121 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.3974, allocations: 19.94 kB / 1.318 GB, free: 8.102 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.3975, allocations: 3.984 kB / 1.318 GB, free: 8.098 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.3976, allocations: 11.94 kB / 1.318 GB, free: 8.086 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.3976, allocations: 11.98 kB / 1.318 GB, free: 8.074 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3976, allocations: 4 kB / 1.318 GB, free: 8.07 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.835e-06/0.3976, allocations: 0 / 1.318 GB, free: 8.07 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3977, allocations: 11.94 kB / 1.318 GB, free: 8.059 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.3977, allocations: 7.984 kB / 1.318 GB, free: 8.051 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.3978, allocations: 27.84 kB / 1.318 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3978, allocations: 0 / 1.318 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.463e-06/0.3978, allocations: 0 / 1.318 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.031e-05/0.3978, allocations: 0 / 1.318 GB, free: 8.023 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.000478/0.3983, allocations: 258.4 kB / 1.318 GB, free: 7.738 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3983, allocations: 8.031 kB / 1.318 GB, free: 7.73 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.3984, allocations: 4.891 kB / 1.318 GB, free: 7.727 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3985, allocations: 118.5 kB / 1.318 GB, free: 7.586 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3985, allocations: 384 / 1.318 GB, free: 7.586 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3985, allocations: 4.375 kB / 1.318 GB, free: 7.582 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.3987, allocations: 50.17 kB / 1.318 GB, free: 7.527 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3987, allocations: 192 / 1.318 GB, free: 7.527 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3987, allocations: 7.938 kB / 1.318 GB, free: 7.52 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3987, allocations: 0 / 1.318 GB, free: 7.52 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3989, allocations: 27.97 kB / 1.318 GB, free: 7.492 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.3992, allocations: 220 kB / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3994, allocations: 42.48 kB / 1.318 GB, free: 7.184 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.3994, allocations: 24.91 kB / 1.318 GB, free: 7.156 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3995, allocations: 3.938 kB / 1.318 GB, free: 7.152 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3995, allocations: 34.56 kB / 1.318 GB, free: 7.109 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3995, allocations: 0 / 1.318 GB, free: 7.109 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.000358/0.3998, allocations: 89.53 kB / 1.319 GB, free: 7.016 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3999, allocations: 51.41 kB / 1.319 GB, free: 6.953 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.4, allocations: 97.84 kB / 1.319 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4, allocations: 25.7 kB / 1.319 GB, free: 6.816 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.4, allocations: 92.27 kB / 1.319 GB, free: 6.723 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.4001, allocations: 3.953 kB / 1.319 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.4001, allocations: 13.72 kB / 1.319 GB, free: 6.699 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001429/0.4002, allocations: 318.8 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.4003, allocations: 11.98 kB / 1.319 GB, free: 6.367 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.4004, allocations: 15.98 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4005, allocations: 40.89 kB / 1.319 GB, free: 6.309 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4005, allocations: 0 / 1.319 GB, free: 6.309 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.4007, allocations: 73.53 kB / 1.319 GB, free: 6.23 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4007, allocations: 5.562 kB / 1.319 GB, free: 6.227 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4007, allocations: 0 / 1.319 GB, free: 6.227 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4008, allocations: 0 / 1.319 GB, free: 6.227 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.4008, allocations: 16.02 kB / 1.319 GB, free: 6.211 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4009, allocations: 0 / 1.319 GB, free: 6.211 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.4009, allocations: 11.92 kB / 1.319 GB, free: 6.199 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.4009, allocations: 0 / 1.319 GB, free: 6.199 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 (2):
 * Single equations (assignments): 2
 * 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.383e-05/0.401, allocations: 118.7 kB / 1.319 GB, free: 6.074 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.401, allocations: 0 / 1.319 GB, free: 6.074 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.4012, allocations: 72.91 kB / 1.319 GB, free: 5.992 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4012, allocations: 4 kB / 1.319 GB, free: 5.988 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4013, allocations: 4 kB / 1.319 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4013, allocations: 0 / 1.319 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.4014, allocations: 132.7 kB / 1.32 GB, free: 5.812 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4014, allocations: 0 / 1.32 GB, free: 5.812 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.4015, allocations: 11.98 kB / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4015, allocations: 192 / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.4015, allocations: 0 / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4015, allocations: 3.938 kB / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.4015, allocations: 0 / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4017, allocations: 179.4 kB / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.4017, allocations: 0 / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.4018, allocations: 0 / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.4018, allocations: 7.984 kB / 1.32 GB, free: 5.598 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.4019, allocations: 8 kB / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4019, allocations: 4.031 kB / 1.32 GB, free: 5.586 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.285e-05/0.4019, allocations: 83.22 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4019, allocations: 0 / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002035/0.4021, allocations: 4 kB / 1.32 GB, free: 5.5 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 (2):
 * Single equations (assignments): 2
 * 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.0001387/0.4023, allocations: 95.77 kB / 1.32 GB, free: 5.395 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002033/0.4025, allocations: 35.97 kB / 1.32 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4025, allocations: 4.062 kB / 1.32 GB, free: 5.355 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.4025, allocations: 19.98 kB / 1.32 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4028, allocations: 11.92 kB / 1.32 GB, free: 5.324 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.4032, allocations: 110.1 kB / 1.32 GB, free: 5.191 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4035, allocations: 0.6729 MB / 1.321 GB, free: 4.492 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.469e-05/0.4035, allocations: 4 kB / 1.321 GB, free: 4.488 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.4035, allocations: 11.5 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of SimCode: time 4.01e-07/0.4035, allocations: 0 / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of Templates: time 0.002849/0.4064, allocations: 442.6 kB / 1.321 GB, free: 4.047 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.147478677332401]