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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001464/0.001464, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001618/0.001619, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 64.59 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2787, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003687/0.2824, allocations: 1.633 MB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2841, allocations: 1.176 MB / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.2841, allocations: 4 kB / 1.022 GB, free: 7.012 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2844, allocations: 19.8 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.2847, allocations: 71.61 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.285, allocations: 136.3 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.2853, allocations: 237.5 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2855, allocations: 24.2 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.2856, allocations: 75.83 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.2858, allocations: 98.67 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.2858, allocations: 16 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.286, allocations: 75.97 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2861, allocations: 75.81 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.2862, allocations: 107.3 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.2866, allocations: 291 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.2866, allocations: 0 / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2866, allocations: 3.938 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2866, allocations: 0 / 1.023 GB, free: 5.809 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.0008387/0.2875, allocations: 0.5229 MB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2875, allocations: 8.031 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.2876, allocations: 24.66 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.2879, allocations: 267.6 kB / 1.024 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2879, allocations: 16.38 kB / 1.024 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.288, allocations: 12.38 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.2883, allocations: 222.4 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2883, allocations: 0 / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2884, allocations: 8 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2884, allocations: 8 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.2892, allocations: 0.7449 MB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.29, allocations: 0.5667 MB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.2905, allocations: 299.6 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2906, allocations: 101.4 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.2907, allocations: 24.25 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/0.2911, allocations: 177.4 kB / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.2911, allocations: 0 / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0006881/0.2918, allocations: 369.1 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.2919, allocations: 132.5 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.2922, allocations: 307.9 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.2922, allocations: 37.64 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.2923, allocations: 124.7 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.2924, allocations: 106.4 kB / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.416e-05/0.2925, allocations: 69.69 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2926, allocations: 342.8 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2928, allocations: 79.95 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.293, allocations: 121.2 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.2933, allocations: 225 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2933, allocations: 0 / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000426/0.2937, allocations: 281.1 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2938, allocations: 4 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2938, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2938, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.294, allocations: 59.91 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.294, allocations: 4 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2942, allocations: 31.7 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2942, allocations: 15.98 kB / 1.028 GB, free: 300 kB / 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.0001439/0.2944, allocations: 162.6 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.2944, allocations: 27.72 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006408/0.2951, allocations: 373.7 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2951, allocations: 4 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2951, allocations: 0 / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2951, allocations: 7.922 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.2954, allocations: 325.1 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2954, allocations: 4 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.2956, allocations: 63.91 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2956, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.2956, allocations: 11.98 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2956, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2956, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.2961, allocations: 325.9 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.2963, allocations: 140.7 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.2963, allocations: 4 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.2964, allocations: 19.98 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.2965, allocations: 23.95 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.2965, allocations: 19.88 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001881/0.2967, allocations: 233.8 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2967, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002789/0.297, allocations: 60 kB / 1.03 GB, free: 14.42 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.0008981/0.2979, allocations: 407 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.2983, allocations: 231.9 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2983, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.2985, allocations: 127.8 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2988, allocations: 40.69 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.2997, allocations: 0.494 MB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3, allocations: 0.754 MB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.3003, allocations: 146.9 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.3004, allocations: 43.42 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3004, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.006355/0.3068, allocations: 2.98 MB / 1.035 GB, free: 9.336 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 -s gbode -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