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.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.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.001626/0.001626, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 195.6 kB / 16.53 MB, free: 6.672 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.577/2.577, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.88 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7201/0.7214, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003751/0.7253, allocations: 1.858 MB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.7278, allocations: 1.584 MB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.7279, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.7281, allocations: 31.77 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.7285, allocations: 75.56 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.729, allocations: 176.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.7293, allocations: 281.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.7295, allocations: 35.06 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.7296, allocations: 91.81 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.7299, allocations: 107.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.7299, allocations: 24 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.7301, allocations: 91.95 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.7302, allocations: 79.8 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.7304, allocations: 123.3 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.7307, allocations: 319 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7308, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7308, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.7308, allocations: 3.984 kB / 1.022 GB, free: 13.64 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.0008136/0.7316, allocations: 0.55 MB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7316, allocations: 12.03 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.7318, allocations: 32.56 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.7321, allocations: 278.7 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.7321, allocations: 12.38 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.7322, allocations: 24.12 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.7326, allocations: 236.9 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7326, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.7326, allocations: 8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.7326, allocations: 11.92 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.7335, allocations: 0.7529 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.7345, allocations: 0.6409 MB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.735, allocations: 298 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.7352, allocations: 113.4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.7352, allocations: 20.25 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.7355, allocations: 180.7 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.7356, allocations: 4 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0006565/0.7362, allocations: 384.6 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.7363, allocations: 136.5 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.7366, allocations: 309 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.7367, allocations: 33.7 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.7368, allocations: 132.6 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/0.7369, allocations: 122.3 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.737, allocations: 65.69 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7371, allocations: 334.8 kB / 1.027 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.7373, allocations: 83.95 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.7375, allocations: 131.2 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.7378, allocations: 218.3 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7378, allocations: 0 / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005107/0.7383, allocations: 273.2 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7384, allocations: 4 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7384, allocations: 3.938 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.7384, allocations: 8 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.7386, allocations: 63.91 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7386, allocations: 3.984 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.7388, allocations: 23.75 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.7388, allocations: 19.98 kB / 1.027 GB, free: 7.918 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.0001805/0.739, allocations: 161.8 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.7391, allocations: 23.72 kB / 1.028 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/0.7398, allocations: 392.8 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7398, allocations: 4 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.7398, allocations: 0 / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7398, allocations: 7.984 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.7402, allocations: 341.2 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7402, allocations: 3.984 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.7404, allocations: 55.86 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.7404, allocations: 8 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.7404, allocations: 15.92 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7404, allocations: 4 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7404, allocations: 0 / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.7409, allocations: 325.6 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.741, allocations: 140.7 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.7411, allocations: 11.94 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.7413, allocations: 27.97 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.7413, allocations: 23.97 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.7414, allocations: 15.98 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002045/0.7416, allocations: 236.5 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7416, allocations: 0 / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00032/0.7419, allocations: 75.83 kB / 1.029 GB, free: 5.98 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.001026/0.7429, allocations: 404.6 kB / 1.03 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005408/0.7435, allocations: 300.2 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7435, allocations: 3.938 kB / 1.03 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.7437, allocations: 144.3 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.744, allocations: 36.42 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.745, allocations: 0.5253 MB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.7454, allocations: 0.7575 MB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.7458, allocations: 158.8 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/0.7459, allocations: 43.42 kB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.7459, allocations: 0 / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.007411/0.7533, allocations: 3.398 MB / 1.035 GB, free: 364 kB / 0.7794 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/jenkins/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