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.001651/0.001651, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001902/0.001902, allocations: 195.1 kB / 16.14 MB, free: 6.711 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.841/2.841, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8718, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003959/0.8758, allocations: 1.694 MB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.8779, allocations: 1.14 MB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.32e-05/0.878, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.8782, allocations: 23.86 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.8785, allocations: 51.83 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.8789, allocations: 119.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.8792, allocations: 213.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.8793, allocations: 24.19 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.8795, allocations: 71.77 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.8797, allocations: 87.77 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.8798, allocations: 12 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.88, allocations: 67.91 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.8801, allocations: 75.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.8802, allocations: 99.33 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.8806, allocations: 261.2 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8806, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.748e-06/0.8806, allocations: 3.984 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.8806, allocations: 0 / 1.02 GB, free: 14.82 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.0008137/0.8814, allocations: 0.5345 MB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.8815, allocations: 8.031 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.8816, allocations: 24.66 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.8819, allocations: 267.6 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.8819, allocations: 16.38 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.882, allocations: 12.38 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.8824, allocations: 220.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.8824, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.8824, allocations: 8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.8824, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009517/0.8834, allocations: 0.7334 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.8843, allocations: 0.5705 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.8849, allocations: 304.1 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.8851, allocations: 101.4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.8851, allocations: 24.25 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.8855, allocations: 172.9 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.8855, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0007143/0.8862, allocations: 369.1 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.8864, allocations: 136.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.8867, allocations: 300 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.8867, allocations: 33.7 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.8868, allocations: 124.7 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.8869, allocations: 110.3 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.8871, allocations: 65.69 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8872, allocations: 342.8 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.8874, allocations: 79.95 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.8876, allocations: 128.5 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.888, allocations: 221 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.888, allocations: 0 / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004785/0.8885, allocations: 281.1 kB / 1.025 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8885, allocations: 4 kB / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8885, allocations: 0 / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.8885, allocations: 0 / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.8888, allocations: 59.91 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8888, allocations: 8 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.889, allocations: 34.58 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.889, allocations: 8 kB / 1.026 GB, free: 9.305 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.0001769/0.8892, allocations: 173.7 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.8893, allocations: 23.72 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.89, allocations: 381.6 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.89, allocations: 7.938 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.89, allocations: 0 / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.89, allocations: 3.938 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.8905, allocations: 329.2 kB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8905, allocations: 4.047 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.8907, allocations: 59.95 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8907, allocations: 0 / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.8907, allocations: 8 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.8907, allocations: 7.938 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8908, allocations: 0 / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.8914, allocations: 325.7 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.8915, allocations: 144.6 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.8916, allocations: 4 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.8917, allocations: 23.92 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.8918, allocations: 19.97 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.8919, allocations: 19.92 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002603/0.8921, allocations: 229.6 kB / 1.027 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.444e-06/0.8921, allocations: 4 kB / 1.027 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003333/0.8925, allocations: 63.92 kB / 1.027 GB, free: 7.41 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.001609/0.8941, allocations: 395.1 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.8946, allocations: 227.9 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8946, allocations: 4 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.8948, allocations: 124.4 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.8951, allocations: 36.59 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.8961, allocations: 0.5796 MB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.8965, allocations: 0.7574 MB / 1.029 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003265/0.8969, allocations: 138.9 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.897, allocations: 47.41 kB / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of SimCode: time 2.575e-06/0.897, allocations: 3.938 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of Templates: time 0.007889/0.9049, allocations: 2.888 MB / 1.032 GB, free: 2.336 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=400 -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