Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001333/0.001333, allocations: 112.7 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.001388/0.001388, allocations: 188.2 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.422/1.422, 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.257/3.257, allocations: 0.4893 GB / 0.7884 GB, free: 33.03 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.39 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3822, allocations: 174.9 MB / 1.316 GB, free: 9.684 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002387/0.3846, allocations: 0.6036 MB / 1.317 GB, free: 9.082 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001238/0.3858, allocations: 0.816 MB / 1.317 GB, free: 8.254 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.3859, allocations: 4 kB / 1.317 GB, free: 8.25 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.3859, allocations: 0 / 1.317 GB, free: 8.25 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.386, allocations: 3.938 kB / 1.317 GB, free: 8.246 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.3861, allocations: 19.91 kB / 1.317 GB, free: 8.227 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.3862, allocations: 12 kB / 1.317 GB, free: 8.215 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.3863, allocations: 3.938 kB / 1.317 GB, free: 8.211 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3864, allocations: 15.98 kB / 1.318 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.3865, allocations: 7.938 kB / 1.318 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3865, allocations: 0 / 1.318 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.3865, allocations: 8 kB / 1.318 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.3865, allocations: 4 kB / 1.318 GB, free: 8.176 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.3866, allocations: 7.922 kB / 1.318 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 9.863e-05/0.3867, allocations: 19.91 kB / 1.318 GB, free: 8.148 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3867, allocations: 0 / 1.318 GB, free: 8.148 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.783e-06/0.3867, allocations: 3.938 kB / 1.318 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.622e-06/0.3867, allocations: 3.938 kB / 1.318 GB, free: 8.141 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0004672/0.3871, allocations: 250.4 kB / 1.318 GB, free: 7.863 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3872, allocations: 8.031 kB / 1.318 GB, free: 7.855 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.3872, allocations: 8.938 kB / 1.318 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3874, allocations: 110.5 kB / 1.318 GB, free: 7.715 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3874, allocations: 384 / 1.318 GB, free: 7.715 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3874, allocations: 384 / 1.318 GB, free: 7.715 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3875, allocations: 42.19 kB / 1.318 GB, free: 7.668 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3875, allocations: 192 / 1.318 GB, free: 7.668 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3876, allocations: 3.938 kB / 1.318 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3876, allocations: 0 / 1.318 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.3876, allocations: 15.98 kB / 1.318 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.3878, allocations: 132.8 kB / 1.318 GB, free: 7.477 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.3879, allocations: 18.58 kB / 1.318 GB, free: 7.449 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.3879, allocations: 8.922 kB / 1.318 GB, free: 7.438 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.388, allocations: 7.922 kB / 1.318 GB, free: 7.43 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.388, allocations: 38.56 kB / 1.318 GB, free: 7.383 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.388, allocations: 0 / 1.318 GB, free: 7.383 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.000215/0.3882, allocations: 57.58 kB / 1.318 GB, free: 7.32 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3883, allocations: 55.41 kB / 1.318 GB, free: 7.254 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3884, allocations: 97.84 kB / 1.318 GB, free: 7.148 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3884, allocations: 29.7 kB / 1.318 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.3884, allocations: 84.14 kB / 1.318 GB, free: 7.027 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.3884, allocations: 0 / 1.318 GB, free: 7.027 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3885, allocations: 9.719 kB / 1.318 GB, free: 7.012 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000157/0.3886, allocations: 323 kB / 1.319 GB, free: 6.688 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.3887, allocations: 4 kB / 1.319 GB, free: 6.684 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.3887, allocations: 15.92 kB / 1.319 GB, free: 6.668 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.587e-05/0.3888, allocations: 16.86 kB / 1.319 GB, free: 6.648 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3888, allocations: 0 / 1.319 GB, free: 6.648 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001098/0.3889, allocations: 45.67 kB / 1.319 GB, free: 6.598 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3889, allocations: 8.094 kB / 1.319 GB, free: 6.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3889, allocations: 7.938 kB / 1.319 GB, free: 6.582 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3889, allocations: 0 / 1.319 GB, free: 6.582 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.389, allocations: 0 / 1.319 GB, free: 6.582 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.389, allocations: 7.938 kB / 1.319 GB, free: 6.574 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.389, allocations: 0 / 1.319 GB, free: 6.574 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.389, allocations: 3.984 kB / 1.319 GB, free: 6.57 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 0.0001014/0.3891, allocations: 115.2 kB / 1.319 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.3891, allocations: 7.891 kB / 1.319 GB, free: 6.441 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.3892, allocations: 11.09 kB / 1.319 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3892, allocations: 3.938 kB / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3892, allocations: 0 / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3892, allocations: 256 / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3893, allocations: 124.8 kB / 1.319 GB, free: 6.258 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3893, allocations: 4 kB / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.3894, allocations: 7.984 kB / 1.319 GB, free: 6.246 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3894, allocations: 0 / 1.319 GB, free: 6.246 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3894, allocations: 3.938 kB / 1.319 GB, free: 6.242 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3894, allocations: 0 / 1.319 GB, free: 6.242 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3894, allocations: 8 kB / 1.319 GB, free: 6.234 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.3895, allocations: 65.12 kB / 1.319 GB, free: 6.152 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.3895, allocations: 0 / 1.319 GB, free: 6.152 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3895, allocations: 7.922 kB / 1.319 GB, free: 6.145 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.3896, allocations: 4 kB / 1.319 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3896, allocations: 0 / 1.319 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.3896, allocations: 0 / 1.319 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.321e-05/0.3897, allocations: 91.25 kB / 1.319 GB, free: 6.051 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3897, allocations: 0 / 1.319 GB, free: 6.051 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001809/0.3898, allocations: 4 kB / 1.319 GB, free: 6.047 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.0001399/0.39, allocations: 95.23 kB / 1.319 GB, free: 5.941 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.00015/0.3901, allocations: 19.98 kB / 1.319 GB, free: 5.922 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3901, allocations: 0 / 1.319 GB, free: 5.922 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.3902, allocations: 8.062 kB / 1.319 GB, free: 5.914 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.3903, allocations: 6.344 kB / 1.319 GB, free: 5.91 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.3907, allocations: 117.8 kB / 1.32 GB, free: 5.773 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.391, allocations: 0.6767 MB / 1.32 GB, free: 5.07 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.734e-05/0.3911, allocations: 4 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.3911, allocations: 7.438 kB / 1.32 GB, free: 5.059 MB / 1.014 GB
Notification: Performance of SimCode: time 3.7e-07/0.3911, allocations: 0 / 1.32 GB, free: 5.059 MB / 1.014 GB
Notification: Performance of Templates: time 0.002846/0.3939, allocations: 292.6 kB / 1.321 GB, free: 4.773 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.167627250775695]