Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001683/0.001683, 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.002086/0.002086, allocations: 191.6 kB / 22.23 MB, free: 5.156 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.01 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.446/3.446, allocations: 496 MB / 0.7835 GB, free: 33.73 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin")
translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 72.53 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3983, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001823/0.4001, allocations: 0.6107 MB / 1.308 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0009401/0.4011, allocations: 0.816 MB / 1.309 GB, free: 344 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.4011, allocations: 0 / 1.309 GB, free: 344 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.4011, allocations: 3.938 kB / 1.309 GB, free: 340 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.4012, allocations: 7.984 kB / 1.309 GB, free: 332 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.4013, allocations: 11.92 kB / 1.309 GB, free: 320 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.4014, allocations: 15.94 kB / 1.309 GB, free: 304 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.4015, allocations: 0 / 1.309 GB, free: 304 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.4015, allocations: 11.98 kB / 1.309 GB, free: 292 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.4016, allocations: 7.938 kB / 1.309 GB, free: 284 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4016, allocations: 8 kB / 1.309 GB, free: 276 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.4016, allocations: 0 / 1.309 GB, free: 276 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.4016, allocations: 11.97 kB / 1.309 GB, free: 264 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.4017, allocations: 3.938 kB / 1.309 GB, free: 260 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 7.499e-05/0.4017, allocations: 15.92 kB / 1.309 GB, free: 244 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4017, allocations: 4 kB / 1.309 GB, free: 240 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.232e-06/0.4017, allocations: 0 / 1.309 GB, free: 240 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.262e-06/0.4018, allocations: 0 / 1.309 GB, free: 240 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0004265/0.4022, allocations: 246.4 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4022, allocations: 16.86 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.4022, allocations: 12.88 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.4024, allocations: 110.4 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.4024, allocations: 384 / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.4024, allocations: 4.375 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4025, allocations: 34.25 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4025, allocations: 4.172 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4025, allocations: 3.938 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4025, allocations: 4 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.4026, allocations: 19.98 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.4028, allocations: 124.8 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.4028, allocations: 22.55 kB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.4029, allocations: 16.91 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.4029, allocations: 4 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4029, allocations: 34.56 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4029, allocations: 0 / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.000222/0.4031, allocations: 53.62 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4032, allocations: 51.41 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.4033, allocations: 105.8 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4033, allocations: 25.7 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.4033, allocations: 84.08 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.4034, allocations: 3.953 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.4034, allocations: 17.83 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001421/0.4035, allocations: 318.8 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.4036, allocations: 4 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.4036, allocations: 7.984 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.703e-05/0.4037, allocations: 20.84 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4037, allocations: 0 / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001014/0.4038, allocations: 45.75 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4038, allocations: 10.19 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4038, allocations: 3.938 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4038, allocations: 0 / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.4039, allocations: 7.938 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4039, allocations: 3.984 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.4039, allocations: 7.984 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.4039, allocations: 0 / 1.31 GB, free: 14.65 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 (1):
 * Single equations (assignments): 1
 * 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 8.486e-05/0.404, allocations: 118.6 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.404, allocations: 3.938 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.404, allocations: 7.094 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.404, allocations: 4 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.404, allocations: 0 / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.404, allocations: 0 / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.4042, allocations: 132.6 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4042, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.4042, allocations: 3.984 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4042, allocations: 4 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4042, allocations: 7.938 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4042, allocations: 0 / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4042, allocations: 256 / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.4043, allocations: 65.12 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.4043, allocations: 11.92 kB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.4044, allocations: 7.938 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.4044, allocations: 0 / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.4044, allocations: 4.031 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4044, allocations: 4 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.564e-05/0.4045, allocations: 87.27 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.4045, allocations: 0 / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000178/0.4046, allocations: 0 / 1.311 GB, free: 14.12 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 (1):
 * Single equations (assignments): 1
 * 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.0001125/0.4048, allocations: 95.25 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001267/0.4049, allocations: 15.98 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4049, allocations: 4.062 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.4049, allocations: 8 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.4051, allocations: 3.984 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.4053, allocations: 118.7 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4056, allocations: 0.6768 MB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.336e-05/0.4057, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.4057, allocations: 11.5 kB / 1.312 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.4057, allocations: 0 / 1.312 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of Templates: time 0.002508/0.4082, allocations: 302.4 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.48738645017147]