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.001406/0.001406, allocations: 106.3 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.00161/0.00161, 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.572/2.572, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 72.44 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2876, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003249/0.2909, allocations: 1.633 MB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.2927, allocations: 1.167 MB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.2928, allocations: 0 / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.2931, allocations: 23.8 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.2934, allocations: 67.69 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.2939, allocations: 143.9 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.2941, allocations: 233.5 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2943, allocations: 24.19 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2944, allocations: 75.83 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.2946, allocations: 99.64 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.2947, allocations: 20 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.2949, allocations: 83.95 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.295, allocations: 75.75 kB / 1.022 GB, free: 7.031 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.2951, allocations: 103.4 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.2955, allocations: 271.4 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2955, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2955, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2955, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 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.0008094/0.2963, allocations: 0.5345 MB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2964, allocations: 8.031 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.2965, allocations: 28.66 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.2968, allocations: 267.6 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2968, allocations: 12.38 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.2969, allocations: 12.38 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.2973, allocations: 222.4 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2973, allocations: 0 / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2973, allocations: 4 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2973, allocations: 8 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.2982, allocations: 0.7451 MB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.2991, allocations: 0.5628 MB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.2996, allocations: 299.6 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.2998, allocations: 105.4 kB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.2998, allocations: 20.25 kB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.3002, allocations: 177.4 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.3002, allocations: 0 / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0007202/0.3009, allocations: 365.1 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.301, allocations: 136.5 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.3013, allocations: 304 kB / 1.026 GB, free: 2.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3014, allocations: 37.7 kB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.3015, allocations: 120.7 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.3016, allocations: 110.5 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.3017, allocations: 61.69 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3018, allocations: 338.8 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3019, allocations: 83.94 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.3021, allocations: 133.2 kB / 1.026 GB, free: 1.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.3025, allocations: 209 kB / 1.027 GB, free: 1.551 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3025, allocations: 0 / 1.027 GB, free: 1.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004863/0.303, allocations: 285 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.303, allocations: 7.938 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.303, allocations: 3.938 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.303, allocations: 0 / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.3033, allocations: 63.91 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3033, allocations: 4 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3035, allocations: 31.7 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.3035, allocations: 16 kB / 1.027 GB, free: 1.141 MB / 0.795 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.0001592/0.3037, allocations: 161.7 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.3037, allocations: 23.72 kB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.3044, allocations: 381.6 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3044, allocations: 4 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3044, allocations: 4 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3045, allocations: 3.938 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.3048, allocations: 333.2 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3048, allocations: 0 / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.305, allocations: 55.91 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.305, allocations: 0 / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.305, allocations: 12 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3051, allocations: 4 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3051, allocations: 0 / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.3056, allocations: 325.9 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.3057, allocations: 148.7 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.3058, allocations: 4 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3059, allocations: 15.98 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.306, allocations: 23.97 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.306, allocations: 15.92 kB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001947/0.3062, allocations: 233.6 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3062, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003129/0.3065, allocations: 59.98 kB / 1.029 GB, free: 15.27 MB / 0.8106 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.0009901/0.3075, allocations: 412.5 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000543/0.3081, allocations: 303.9 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3081, allocations: 0 / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.3083, allocations: 127.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.3086, allocations: 44.58 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.3096, allocations: 0.5347 MB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3099, allocations: 0.7579 MB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.31, allocations: 47.41 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of SimCode: time 1.002e-06/0.31, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of Templates: time 0.007398/0.3174, allocations: 4.192 MB / 1.035 GB, free: 8.973 MB / 0.8106 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/jenkins1/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