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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_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.001303/0.001303, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001209/0.001209, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.59 kB / 0.9088 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 159.1 MB / 1.064 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003412/0.3041, allocations: 1.639 MB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3058, allocations: 1.164 MB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.306, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3062, allocations: 27.84 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.3066, allocations: 67.62 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.307, allocations: 134 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.3073, allocations: 237.6 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3074, allocations: 20.23 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3076, allocations: 79.81 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.3078, allocations: 91.77 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.3078, allocations: 16 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.308, allocations: 75.92 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3081, allocations: 83.73 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3083, allocations: 103.4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.3086, allocations: 279.4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3086, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3086, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.3087, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 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.0007636/0.3094, allocations: 0.5268 MB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3095, allocations: 8.031 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.123e-05/0.3096, allocations: 32.56 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3098, allocations: 263.7 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3099, allocations: 8.375 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.3099, allocations: 24.38 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.3103, allocations: 218.4 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3103, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3103, allocations: 8 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3103, allocations: 4 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.3111, allocations: 0.7334 MB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.3119, allocations: 0.5744 MB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.3124, allocations: 300.9 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3126, allocations: 101.4 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.3126, allocations: 20.23 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.3129, allocations: 184.8 kB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.313, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0006538/0.3136, allocations: 366.1 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.3137, allocations: 136.5 kB / 1.072 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.314, allocations: 300 kB / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.314, allocations: 29.7 kB / 1.072 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.3141, allocations: 128.6 kB / 1.072 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.3142, allocations: 110.4 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.3143, allocations: 69.69 kB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3144, allocations: 346.7 kB / 1.072 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3146, allocations: 75.95 kB / 1.073 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.3148, allocations: 128.4 kB / 1.073 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.3151, allocations: 212.6 kB / 1.073 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3151, allocations: 4 kB / 1.073 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004274/0.3155, allocations: 281.6 kB / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3155, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3156, allocations: 0 / 1.073 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3156, allocations: 4 kB / 1.073 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.3158, allocations: 63.89 kB / 1.073 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3158, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.316, allocations: 29.97 kB / 1.073 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.316, allocations: 15.98 kB / 1.073 GB, free: 5.445 MB / 0.8419 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.0001535/0.3162, allocations: 165.7 kB / 1.073 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.3162, allocations: 27.72 kB / 1.073 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/0.3169, allocations: 388.6 kB / 1.074 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3169, allocations: 4 kB / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3169, allocations: 0 / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3169, allocations: 11.95 kB / 1.074 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.3172, allocations: 325.3 kB / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3172, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3174, allocations: 63.91 kB / 1.074 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.3174, allocations: 4 kB / 1.074 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3175, allocations: 11.98 kB / 1.074 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3175, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3175, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.3179, allocations: 317.7 kB / 1.074 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3181, allocations: 140.7 kB / 1.075 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.3181, allocations: 8 kB / 1.075 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3183, allocations: 15.98 kB / 1.075 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.3183, allocations: 23.97 kB / 1.075 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.3184, allocations: 23.88 kB / 1.075 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001899/0.3186, allocations: 225.8 kB / 1.075 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.8e-07/0.3186, allocations: 0 / 1.075 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002829/0.3189, allocations: 56 kB / 1.075 GB, free: 3.57 MB / 0.8419 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.0009242/0.3198, allocations: 419.8 kB / 1.075 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.3203, allocations: 308.1 kB / 1.076 GB, free: 3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3203, allocations: 0 / 1.076 GB, free: 3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3205, allocations: 131.8 kB / 1.076 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3208, allocations: 36 kB / 1.076 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.3216, allocations: 0.534 MB / 1.076 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3219, allocations: 0.7535 MB / 1.077 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.322, allocations: 59.34 kB / 1.077 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.322, allocations: 0 / 1.077 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.4457/0.7677, allocations: 4.168 MB / 1.081 GB, free: 21.64 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches