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.007019/0.007019, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001535/0.001535, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.343/1.343, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.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.638/2.638, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7075/0.7089, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003738/0.7127, allocations: 1.706 MB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.7148, allocations: 1.144 MB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.715, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.7153, allocations: 15.92 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.7157, allocations: 55.83 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.7161, allocations: 135.4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.7164, allocations: 201.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.7166, allocations: 24.19 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.7167, allocations: 71.83 kB / 1.021 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.717, allocations: 95.64 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.717, allocations: 12 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.7172, allocations: 63.97 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.7173, allocations: 71.81 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.7175, allocations: 91.39 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.7178, allocations: 205.6 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7179, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7179, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.7179, allocations: 0 / 1.021 GB, free: 14.91 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.001023/0.7189, allocations: 0.5306 MB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.719, allocations: 12.03 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.7191, allocations: 24.66 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.7194, allocations: 271.6 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.7195, allocations: 16.31 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.7195, allocations: 12.38 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.7199, allocations: 216.9 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7199, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.7199, allocations: 8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.72, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.7208, allocations: 0.7334 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008524/0.7217, allocations: 0.5666 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.7222, allocations: 304.2 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.7224, allocations: 97.38 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.7224, allocations: 24.19 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.7228, allocations: 180.8 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.7228, allocations: 3.938 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0007174/0.7236, allocations: 361.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.7237, allocations: 140.5 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.724, allocations: 300 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.724, allocations: 33.64 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.7241, allocations: 124.7 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.7242, allocations: 118.4 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.7243, allocations: 61.69 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7244, allocations: 342.8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.7246, allocations: 79.95 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.7248, allocations: 124.6 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.7251, allocations: 221 kB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7251, allocations: 0 / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004395/0.7256, allocations: 273.1 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7256, allocations: 13.66 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7256, allocations: 0 / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7256, allocations: 48 / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.7259, allocations: 71.94 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.7259, allocations: 4 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.7261, allocations: 27.72 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.7261, allocations: 15.98 kB / 1.026 GB, free: 9.387 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.0001712/0.7263, allocations: 153.8 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.7263, allocations: 23.72 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/0.727, allocations: 385.5 kB / 1.027 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7271, allocations: 4 kB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7271, allocations: 0 / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.7271, allocations: 11.92 kB / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.7274, allocations: 329.2 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7274, allocations: 0 / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.7276, allocations: 59.91 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7276, allocations: 0 / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.7277, allocations: 11.98 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.7277, allocations: 0 / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7277, allocations: 4 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.7282, allocations: 325.7 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.7283, allocations: 144.6 kB / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.7284, allocations: 11.94 kB / 1.028 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.7285, allocations: 19.92 kB / 1.028 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.7286, allocations: 19.97 kB / 1.028 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.7286, allocations: 15.94 kB / 1.028 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002149/0.7288, allocations: 237.6 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7288, allocations: 4 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000306/0.7291, allocations: 56 kB / 1.028 GB, free: 7.508 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.00106/0.7302, allocations: 412.8 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.7306, allocations: 227.9 kB / 1.029 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7307, allocations: 0 / 1.029 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.7309, allocations: 128.4 kB / 1.029 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.7312, allocations: 31.47 kB / 1.029 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.7321, allocations: 0.6125 MB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.7325, allocations: 0.7574 MB / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.7326, allocations: 51.42 kB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.7326, allocations: 0 / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.0078/0.7404, allocations: 4.175 MB / 1.034 GB, free: 1.23 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/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