Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001459/0.00146, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.14 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7016, allocations: 151.6 MB / 1.017 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.004928/0.7066, allocations: 1.639 MB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.709, allocations: 1.16 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.7092, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.7095, allocations: 27.83 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.7099, allocations: 71.64 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.7106, allocations: 131.1 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.711, allocations: 233.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.7112, allocations: 24.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.7114, allocations: 83.81 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.7117, allocations: 93.48 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.7118, allocations: 16 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.712, allocations: 75.92 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.7122, allocations: 83.73 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.7123, allocations: 103.4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.7128, allocations: 269.2 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7128, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.025e-06/0.7128, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7128, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 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.0008825/0.7137, allocations: 0.5305 MB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7138, allocations: 8.031 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.7139, allocations: 24.66 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.7143, allocations: 271.6 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.7143, allocations: 12.38 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.7143, allocations: 16.38 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.7147, allocations: 224.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7147, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.7148, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.7148, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.7157, allocations: 0.7412 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.7165, allocations: 0.5627 MB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.717, allocations: 295.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.7172, allocations: 105.4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/0.7173, allocations: 20.23 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.7176, allocations: 188.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/0.7176, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0006837/0.7183, allocations: 357.2 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.7184, allocations: 136.5 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.7187, allocations: 296.1 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.7187, allocations: 37.7 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.7188, allocations: 128.7 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.535e-05/0.7189, allocations: 110.4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.719, allocations: 69.69 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7191, allocations: 338.7 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.7193, allocations: 83.89 kB / 1.026 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.7195, allocations: 124.6 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.7198, allocations: 217 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7198, allocations: 0 / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000425/0.7202, allocations: 273.2 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7203, allocations: 4 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.7203, allocations: 4 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7203, allocations: 7.984 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.7205, allocations: 63.84 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7205, allocations: 4 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.7207, allocations: 31.67 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.7207, allocations: 8 kB / 1.026 GB, free: 9.066 MB / 0.7794 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.000157/0.7209, allocations: 161.8 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.721, allocations: 23.72 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/0.7216, allocations: 393.5 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7216, allocations: 7.984 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7216, allocations: 0 / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.7217, allocations: 3.938 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.722, allocations: 329.3 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.722, allocations: 3.984 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.7222, allocations: 55.91 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.7222, allocations: 4 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.7222, allocations: 15.98 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.7222, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7222, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.7227, allocations: 321.7 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.7228, allocations: 144.6 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.7229, allocations: 8 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.723, allocations: 15.98 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.7231, allocations: 23.97 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.7231, allocations: 11.94 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001988/0.7233, allocations: 241.5 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7233, allocations: 0 / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003032/0.7236, allocations: 56 kB / 1.028 GB, free: 7.184 MB / 0.7794 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.0009485/0.7246, allocations: 411.9 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.7251, allocations: 307.8 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7251, allocations: 4 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.7254, allocations: 132.4 kB / 1.029 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.7256, allocations: 29.8 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.7265, allocations: 0.4938 MB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.7268, allocations: 0.7574 MB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.7272, allocations: 146.8 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.7273, allocations: 47.41 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7273, allocations: 0 / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of Templates: time 0.006726/0.734, allocations: 2.978 MB / 1.033 GB, free: 2.012 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches