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.002001/0.002001, 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.002202/0.002202, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.936/2.936, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.89 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8172, 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.00434/0.8216, allocations: 1.945 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.8246, allocations: 1.545 MB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.8247, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.825, allocations: 31.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.8253, allocations: 55.75 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.8259, allocations: 155.2 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.8262, allocations: 265.3 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.8264, allocations: 39.06 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.8265, allocations: 79.77 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.8268, allocations: 107.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.8268, allocations: 12 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.8271, allocations: 79.95 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.8274, allocations: 71.81 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.8275, allocations: 119.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.8282, allocations: 303 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8282, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8282, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8283, allocations: 0 / 1.021 GB, free: 14.02 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.001321/0.8296, allocations: 0.5578 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.8296, allocations: 8.031 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.8299, allocations: 36.56 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.8303, allocations: 274.7 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.8303, allocations: 16.38 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.8304, allocations: 20.12 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.8309, allocations: 244.8 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.8309, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.8309, allocations: 12 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.831, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.832, allocations: 0.7451 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.8332, allocations: 0.637 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.8338, allocations: 310.5 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.834, allocations: 105.4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.699e-05/0.834, allocations: 28.23 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005902/0.8346, allocations: 175.5 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.786e-06/0.8346, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0009476/0.8356, allocations: 389.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.8357, allocations: 132.5 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.8362, allocations: 309 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.8363, allocations: 33.7 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.8365, allocations: 136.6 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.8366, allocations: 118.3 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.8367, allocations: 69.67 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003521/0.8371, allocations: 338.8 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.8372, allocations: 79.95 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.8375, allocations: 127.2 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.8379, allocations: 222.3 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8379, allocations: 0 / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004864/0.8384, allocations: 281.1 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8384, allocations: 8 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.8384, allocations: 3.938 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8384, allocations: 0 / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.8387, allocations: 59.91 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.8387, allocations: 4 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.8388, allocations: 31.67 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.8389, allocations: 12 kB / 1.027 GB, free: 8.289 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.0001896/0.8391, allocations: 169.7 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.8391, allocations: 27.72 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/0.84, allocations: 384.9 kB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.84, allocations: 4 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.84, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.84, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.8405, allocations: 349.2 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8406, allocations: 0 / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.8407, allocations: 67.91 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8407, allocations: 0 / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.8408, allocations: 15.92 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.8408, allocations: 4 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8408, allocations: 0 / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.8415, allocations: 321.8 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.8416, allocations: 148.7 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.8417, allocations: 11.94 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.8419, allocations: 19.98 kB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.842, allocations: 27.95 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.8421, allocations: 12 kB / 1.028 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002373/0.8423, allocations: 240.4 kB / 1.028 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8423, allocations: 0 / 1.028 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003141/0.8426, allocations: 75.84 kB / 1.028 GB, free: 6.348 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.001484/0.8441, allocations: 402.8 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.8446, allocations: 235.6 kB / 1.029 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8446, allocations: 0 / 1.029 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.8448, allocations: 128.8 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.8452, allocations: 42.23 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.8462, allocations: 0.6245 MB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.8467, allocations: 0.7614 MB / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003552/0.8471, allocations: 150.9 kB / 1.031 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.8472, allocations: 39.42 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8472, allocations: 0 / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of Templates: time 0.008177/0.8554, allocations: 3.283 MB / 1.034 GB, free: 0.8242 MB / 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=400 -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