Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006008/0.006008, allocations: 100.5 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 191.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.78 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3556, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003892/0.3596, allocations: 1.639 MB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3616, allocations: 1.164 MB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3617, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.362, allocations: 19.86 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3624, allocations: 71.62 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.3628, allocations: 139.7 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.3631, allocations: 237.5 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3632, allocations: 24.09 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3633, allocations: 75.83 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.3636, allocations: 95.77 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.3636, allocations: 20 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3638, allocations: 79.95 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.3639, allocations: 87.69 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.364, allocations: 99.39 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.3644, allocations: 283.1 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3644, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3644, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3644, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 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.0008412/0.3653, allocations: 0.5343 MB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3653, allocations: 12.03 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.3654, allocations: 28.56 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3657, allocations: 251.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3658, allocations: 16.38 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.3658, allocations: 12.38 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.3662, allocations: 216.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3662, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3663, allocations: 16 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3663, allocations: 4 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.3672, allocations: 0.741 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008762/0.368, allocations: 0.5707 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.3686, allocations: 300.7 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.3688, allocations: 105.4 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.684e-05/0.3688, allocations: 20.25 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000446/0.3693, allocations: 176.9 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.3693, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.000795/0.3701, allocations: 373.1 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3702, allocations: 132.5 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3705, allocations: 300 kB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3706, allocations: 33.7 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.3707, allocations: 124.7 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3708, allocations: 114.3 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3709, allocations: 65.69 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.371, allocations: 342.8 kB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3712, allocations: 83.94 kB / 1.096 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3714, allocations: 119.4 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3718, allocations: 226.2 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3718, allocations: 7.875 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004306/0.3722, allocations: 273.2 kB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3722, allocations: 8 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3723, allocations: 0 / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3723, allocations: 0 / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3725, allocations: 59.91 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3725, allocations: 0 / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.3727, allocations: 27.77 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3727, allocations: 20 kB / 1.097 GB, free: 7.891 MB / 0.8575 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.0001723/0.3729, allocations: 161.7 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3729, allocations: 23.72 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.3736, allocations: 380.4 kB / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3736, allocations: 7.938 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3736, allocations: 0 / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.3736, allocations: 7.938 kB / 1.098 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.374, allocations: 325.3 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.374, allocations: 0 / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.3742, allocations: 59.97 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3742, allocations: 0 / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3742, allocations: 12 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3742, allocations: 3.938 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3742, allocations: 0 / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3747, allocations: 327.1 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3749, allocations: 136.7 kB / 1.098 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.3749, allocations: 8 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3751, allocations: 19.98 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.3751, allocations: 23.97 kB / 1.098 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.3752, allocations: 19.92 kB / 1.098 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002221/0.3754, allocations: 229.6 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3754, allocations: 0 / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002906/0.3757, allocations: 59.98 kB / 1.099 GB, free: 6.023 MB / 0.8575 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.001069/0.3768, allocations: 417.1 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.3772, allocations: 223.8 kB / 1.099 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3772, allocations: 4 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3774, allocations: 131.8 kB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3777, allocations: 30.78 kB / 1.099 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.3786, allocations: 0.4931 MB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.379, allocations: 0.7579 MB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.3794, allocations: 142.8 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.3795, allocations: 47.41 kB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of SimCode: time 4.7e-07/0.3795, allocations: 3.938 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of Templates: time 0.0074/0.3869, allocations: 3.028 MB / 1.104 GB, free: 0.8711 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches