Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001528/0.001528, 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.001743/0.001743, allocations: 191.7 kB / 22.23 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.508/1.508, allocations: 225.6 MB / 251 MB, free: 13.03 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.928/2.928, allocations: 476.7 MB / 0.7646 GB, free: 9.895 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 71.88 kB / 1.11 GB, free: 6.324 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9618, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001947/0.9638, allocations: 0.6096 MB / 1.275 GB, free: 3.605 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001101/0.9649, allocations: 0.8117 MB / 1.276 GB, free: 2.781 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.9649, allocations: 0 / 1.276 GB, free: 2.781 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.965, allocations: 0 / 1.276 GB, free: 2.781 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.965, allocations: 7.922 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.9651, allocations: 8 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.9652, allocations: 15.92 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.9653, allocations: 4 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.9654, allocations: 19.92 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.9654, allocations: 11.92 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.9655, allocations: 0 / 1.276 GB, free: 2.715 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.9655, allocations: 0 / 1.276 GB, free: 2.715 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.9655, allocations: 4 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.9655, allocations: 7.938 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 8.179e-05/0.9656, allocations: 15.97 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9656, allocations: 0 / 1.276 GB, free: 2.688 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.453e-06/0.9656, allocations: 3.938 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.032e-05/0.9656, allocations: 0 / 1.276 GB, free: 2.684 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0004504/0.9661, allocations: 260.8 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9661, allocations: 8.031 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.9661, allocations: 4.891 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.9663, allocations: 114.5 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.9663, allocations: 384 / 1.276 GB, free: 2.254 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.9663, allocations: 384 / 1.276 GB, free: 2.254 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.9664, allocations: 42.12 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.9664, allocations: 4.188 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.9664, allocations: 3.938 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9664, allocations: 4 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.9665, allocations: 15.98 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.9667, allocations: 124.8 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.9668, allocations: 22.56 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.9668, allocations: 12.92 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.9668, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.9669, allocations: 42.5 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.9669, allocations: 0 / 1.276 GB, free: 1.918 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=1): time 0.0002114/0.9671, allocations: 57.59 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.9671, allocations: 59.41 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.9672, allocations: 93.86 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.9672, allocations: 25.7 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.9673, allocations: 92.25 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.9673, allocations: 7.953 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.9673, allocations: 9.719 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001767/0.9675, allocations: 314.8 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.9676, allocations: 7.984 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.9676, allocations: 8 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.9677, allocations: 24.84 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9677, allocations: 4 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.9678, allocations: 41.69 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.9678, allocations: 4 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9678, allocations: 3.938 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9678, allocations: 4 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.9679, allocations: 7.922 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9679, allocations: 0 / 1.277 GB, free: 1.105 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.9679, allocations: 4 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.9679, allocations: 32 / 1.277 GB, free: 1.102 MB / 0.9669 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.84e-05/0.968, allocations: 116 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.968, allocations: 4 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.968, allocations: 11.08 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.968, allocations: 0 / 1.277 GB, free: 0.9648 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.968, allocations: 3.938 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.968, allocations: 0 / 1.277 GB, free: 0.9609 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.9681, allocations: 124.8 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9682, allocations: 0 / 1.277 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.9682, allocations: 4 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.9682, allocations: 4 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.9682, allocations: 3.938 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.9682, allocations: 3.938 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9682, allocations: 0 / 1.277 GB, free: 0.7812 MB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.9683, allocations: 77.06 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.9684, allocations: 3.938 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.9684, allocations: 4.188 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.9684, allocations: 12.03 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.9684, allocations: 3.984 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.9684, allocations: 0 / 1.278 GB, free: 0.6641 MB / 0.9669 GB
Notification: Performance of sorting global known variables: time 5.221e-05/0.9685, allocations: 83.28 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB
Notification: Performance of sort global known variables: time 7e-08/0.9685, allocations: 0 / 1.278 GB, free: 0.582 MB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0001781/0.9687, allocations: 4 kB / 1.278 GB, free: 0.5781 MB / 0.9669 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.0001271/0.9688, allocations: 95.19 kB / 1.278 GB, free: 484 kB / 0.9669 GB
Notification: Performance of simCode: created initialization part: time 0.0001374/0.9689, allocations: 23.98 kB / 1.278 GB, free: 460 kB / 0.9669 GB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9689, allocations: 0 / 1.278 GB, free: 460 kB / 0.9669 GB
Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.969, allocations: 7.984 kB / 1.278 GB, free: 452 kB / 0.9669 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.9691, allocations: 4 kB / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.9694, allocations: 110.8 kB / 1.278 GB, free: 308 kB / 0.9669 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.9698, allocations: 0.6729 MB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.822e-05/0.9698, allocations: 8.125 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.9698, allocations: 15.36 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.91e-07/0.9698, allocations: 3.938 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of Templates: time 0.00276/0.9726, allocations: 284.2 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.32995646353811]