Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007574/0.007574, allocations: 100.8 kB / 15.87 MB, free: 6.305 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.001811/0.001811, allocations: 198.2 kB / 16.79 MB, free: 6.238 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.511/1.511, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.563/2.563, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.84 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6758, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003747/0.6796, allocations: 1.937 MB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.6819, allocations: 1.549 MB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.682, allocations: 4 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.6823, allocations: 27.78 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.6827, allocations: 63.69 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.6832, allocations: 147.5 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.6835, allocations: 261.4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.6837, allocations: 39.05 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.6838, allocations: 87.75 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.6841, allocations: 103.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.6842, allocations: 8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.6844, allocations: 79.97 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.6845, allocations: 75.75 kB / 1.022 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.6847, allocations: 115.3 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.685, allocations: 231.5 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.685, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.685, allocations: 3.938 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.685, allocations: 0 / 1.022 GB, free: 14.1 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008816/0.6859, allocations: 0.554 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.686, allocations: 8.031 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.6862, allocations: 32.56 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.6865, allocations: 278.7 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6865, allocations: 16.38 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.6865, allocations: 20.12 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.687, allocations: 244.8 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.687, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.687, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.687, allocations: 8 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.6879, allocations: 0.7412 MB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.689, allocations: 0.6486 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.6895, allocations: 306.5 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.6897, allocations: 113.4 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.6898, allocations: 16.25 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.6902, allocations: 179.5 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 1.614e-06/0.6902, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0007037/0.6909, allocations: 385.9 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.691, allocations: 140.5 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.6913, allocations: 305 kB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.6913, allocations: 29.7 kB / 1.026 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.6914, allocations: 140.6 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6915, allocations: 118.3 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.6916, allocations: 69.61 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6918, allocations: 338.8 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.6919, allocations: 83.89 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.6921, allocations: 131.2 kB / 1.027 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.6925, allocations: 218.3 kB / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6925, allocations: 0 / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000435/0.6929, allocations: 273.2 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6929, allocations: 4 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.693, allocations: 7.938 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.693, allocations: 0 / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.6932, allocations: 63.91 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.6932, allocations: 0 / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.6934, allocations: 35.73 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.6934, allocations: 15.98 kB / 1.027 GB, free: 8.371 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 (36): * Single equations (assignments): 36 * 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.0001628/0.6936, allocations: 161.8 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.6937, allocations: 23.72 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.6943, allocations: 388.9 kB / 1.028 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6943, allocations: 4 kB / 1.028 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6944, allocations: 4.047 kB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6944, allocations: 3.984 kB / 1.028 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.6947, allocations: 349.2 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6947, allocations: 0 / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.6949, allocations: 55.91 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.6949, allocations: 4 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.6949, allocations: 19.86 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.6949, allocations: 3.984 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.695, allocations: 0 / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.6954, allocations: 329.8 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.6956, allocations: 144.7 kB / 1.029 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.6956, allocations: 11.94 kB / 1.029 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.6958, allocations: 22.52 kB / 1.029 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.6959, allocations: 31.89 kB / 1.029 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.6959, allocations: 12 kB / 1.029 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002093/0.6962, allocations: 240.4 kB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6962, allocations: 4 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003145/0.6965, allocations: 67.84 kB / 1.029 GB, free: 6.43 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 (35): * Single equations (assignments): 34 * 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.0009595/0.6975, allocations: 407.5 kB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.6979, allocations: 227.7 kB / 1.03 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6979, allocations: 0 / 1.03 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.6981, allocations: 128.8 kB / 1.03 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.6984, allocations: 44.3 kB / 1.03 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009666/0.6994, allocations: 0.6613 MB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6998, allocations: 0.7653 MB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6999, allocations: 47.41 kB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6999, allocations: 0 / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of Templates: time 0.007548/0.7074, allocations: 4.462 MB / 1.036 GB, free: 15.8 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches