Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001754/0.001754, allocations: 113.9 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.002266/0.002266, allocations: 190.7 kB / 22.23 MB, free: 5.133 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.544/1.544, 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 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.227/3.227, allocations: 495.7 MB / 0.7831 GB, free: 33.46 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin")
translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 66.08 kB / 1.137 GB, free: 33.97 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4125, allocations: 173.6 MB / 1.307 GB, free: 2.016 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003157/0.4157, allocations: 1.668 MB / 1.309 GB, free: 344 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00197/0.4177, allocations: 1.266 MB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.4177, allocations: 0 / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.418, allocations: 31.72 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.4183, allocations: 63.7 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.4187, allocations: 143.2 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003179/0.419, allocations: 229.6 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.4191, allocations: 20.22 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.4192, allocations: 87.75 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.4195, allocations: 91.77 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.4195, allocations: 20 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.4196, allocations: 67.98 kB / 1.311 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.4198, allocations: 75.81 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.4199, allocations: 111.3 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.4203, allocations: 286.8 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4203, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.333e-06/0.4203, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.951e-06/0.4203, allocations: 0 / 1.311 GB, free: 13.86 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: 38
 * Number of variables: 38
Notification: Performance of Generate backend data structure: time 0.0008691/0.4212, allocations: 477.6 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4212, allocations: 15.97 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/0.4213, allocations: 28.75 kB / 1.312 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.4216, allocations: 202.8 kB / 1.312 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4217, allocations: 12.38 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.4217, allocations: 12.38 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.4221, allocations: 217 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4221, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.4222, allocations: 12 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4222, allocations: 7.984 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.4232, allocations: 0.7371 MB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.4241, allocations: 0.5349 MB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.4246, allocations: 280.4 kB / 1.313 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.4247, allocations: 97.94 kB / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.4248, allocations: 24.22 kB / 1.314 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.4252, allocations: 185.4 kB / 1.314 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.4252, allocations: 0 / 1.314 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of matching and sorting (n=34): time 0.0007175/0.4259, allocations: 369.3 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.426, allocations: 136.5 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.4263, allocations: 296.1 kB / 1.315 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.4264, allocations: 33.7 kB / 1.315 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4265, allocations: 128.7 kB / 1.315 GB, free: 9.902 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4266, allocations: 115 kB / 1.315 GB, free: 9.789 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4267, allocations: 65.69 kB / 1.315 GB, free: 9.719 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001561/0.4268, allocations: 342.7 kB / 1.315 GB, free: 9.375 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.427, allocations: 79.95 kB / 1.315 GB, free: 9.297 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.4272, allocations: 129.3 kB / 1.315 GB, free: 9.16 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.4276, allocations: 221.1 kB / 1.316 GB, free: 8.941 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4276, allocations: 0 / 1.316 GB, free: 8.941 MB / 1.014 GB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.000454/0.428, allocations: 273.2 kB / 1.316 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4281, allocations: 8 kB / 1.316 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4281, allocations: 3.984 kB / 1.316 GB, free: 8.656 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4281, allocations: 0 / 1.316 GB, free: 8.656 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4283, allocations: 63.91 kB / 1.316 GB, free: 8.594 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4283, allocations: 0 / 1.316 GB, free: 8.594 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.4285, allocations: 35.77 kB / 1.316 GB, free: 8.559 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.4285, allocations: 15.94 kB / 1.316 GB, free: 8.543 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (35):
 * Single equations (assignments): 35
 * 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.0001846/0.4287, allocations: 161.7 kB / 1.316 GB, free: 8.375 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.4287, allocations: 27.86 kB / 1.316 GB, free: 8.348 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/0.4295, allocations: 377.8 kB / 1.317 GB, free: 7.977 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4295, allocations: 3.984 kB / 1.317 GB, free: 7.973 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4295, allocations: 4 kB / 1.317 GB, free: 7.969 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4295, allocations: 3.938 kB / 1.317 GB, free: 7.965 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.4298, allocations: 296.4 kB / 1.317 GB, free: 7.633 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4298, allocations: 3.938 kB / 1.317 GB, free: 7.629 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.43, allocations: 59.97 kB / 1.317 GB, free: 7.57 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.43, allocations: 0 / 1.317 GB, free: 7.57 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.43, allocations: 11.98 kB / 1.317 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.43, allocations: 8 kB / 1.317 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.43, allocations: 0 / 1.317 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.4305, allocations: 326.2 kB / 1.317 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4306, allocations: 75.62 kB / 1.317 GB, free: 7.141 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.4307, allocations: 4 kB / 1.317 GB, free: 7.137 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4308, allocations: 19.98 kB / 1.317 GB, free: 7.117 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.4309, allocations: 23.95 kB / 1.317 GB, free: 7.094 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4309, allocations: 15.94 kB / 1.317 GB, free: 7.078 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002234/0.4311, allocations: 233.6 kB / 1.318 GB, free: 6.852 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4311, allocations: 0 / 1.318 GB, free: 6.852 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002948/0.4314, allocations: 56 kB / 1.318 GB, free: 6.797 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: 2 ($whenCondition1,conTim.tNext)
 * Number of discrete states: 1 (conTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (34):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.001517/0.433, allocations: 410.9 kB / 1.318 GB, free: 6.531 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004533/0.4334, allocations: 223.9 kB / 1.318 GB, free: 6.312 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4334, allocations: 0 / 1.318 GB, free: 6.312 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.4336, allocations: 123.8 kB / 1.318 GB, free: 6.191 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4339, allocations: 35.5 kB / 1.318 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.4348, allocations: 0.4937 MB / 1.319 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.4353, allocations: 0.7574 MB / 1.32 GB, free: 4.852 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000347/0.4356, allocations: 146.9 kB / 1.32 GB, free: 4.711 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.4357, allocations: 43.42 kB / 1.32 GB, free: 4.668 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.4357, allocations: 0 / 1.32 GB, free: 4.668 MB / 1.014 GB
Notification: Performance of Templates: time 0.007827/0.4435, allocations: 3.186 MB / 1.323 GB, free: 1.5 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.338905718177557]