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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.89 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00343/0.336, allocations: 1.884 MB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3385, allocations: 1.588 MB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.3386, allocations: 4 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.3389, allocations: 31.8 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.3391, allocations: 75.53 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.3396, allocations: 178.6 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000409/0.34, allocations: 289.3 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3402, allocations: 25.06 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.3403, allocations: 91.81 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.3406, allocations: 107.7 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.3406, allocations: 20 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.3408, allocations: 91.89 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.3409, allocations: 83.75 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3411, allocations: 123.3 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.3415, allocations: 326.6 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3416, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3416, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3416, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 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.0009575/0.3425, allocations: 0.5729 MB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3426, allocations: 12.03 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.3427, allocations: 32.75 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3431, allocations: 278.8 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3431, allocations: 8.375 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.3432, allocations: 28.06 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.3436, allocations: 236.9 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3437, allocations: 4 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.3437, allocations: 8 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3437, allocations: 4 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3447, allocations: 0.7529 MB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3459, allocations: 0.6371 MB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.3465, allocations: 293.9 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.3466, allocations: 101.4 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.3467, allocations: 20.25 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.3471, allocations: 184.2 kB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.3471, allocations: 0 / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.0007735/0.3479, allocations: 388.8 kB / 1.222 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.348, allocations: 132.5 kB / 1.222 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.3483, allocations: 313 kB / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3483, allocations: 33.7 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3485, allocations: 128.7 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3486, allocations: 119 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3487, allocations: 69.67 kB / 1.223 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3489, allocations: 338.8 kB / 1.223 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3491, allocations: 79.95 kB / 1.223 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3493, allocations: 124.6 kB / 1.224 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.3496, allocations: 217.1 kB / 1.224 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3496, allocations: 0 / 1.224 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004783/0.3501, allocations: 285.1 kB / 1.224 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3501, allocations: 8 kB / 1.224 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3501, allocations: 3.938 kB / 1.224 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3502, allocations: 0 / 1.224 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3504, allocations: 63.91 kB / 1.224 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3504, allocations: 4 kB / 1.224 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.3506, allocations: 27.88 kB / 1.224 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3506, allocations: 15.98 kB / 1.224 GB, free: 6.305 MB / 0.9669 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.0002363/0.3508, allocations: 165.8 kB / 1.224 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.3509, allocations: 31.81 kB / 1.224 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.3517, allocations: 384.9 kB / 1.225 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3517, allocations: 4 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3517, allocations: 0 / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3517, allocations: 3.984 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.3521, allocations: 349.2 kB / 1.225 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3521, allocations: 3.938 kB / 1.225 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.3523, allocations: 63.91 kB / 1.225 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3523, allocations: 0 / 1.225 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.3524, allocations: 19.92 kB / 1.225 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3524, allocations: 0 / 1.225 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3524, allocations: 4 kB / 1.225 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.3529, allocations: 321.8 kB / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.353, allocations: 148.8 kB / 1.226 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.3531, allocations: 11.94 kB / 1.226 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.3533, allocations: 23.98 kB / 1.226 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.3534, allocations: 31.81 kB / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.3534, allocations: 12 kB / 1.226 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002398/0.3536, allocations: 236.4 kB / 1.226 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3536, allocations: 0 / 1.226 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003236/0.354, allocations: 67.89 kB / 1.226 GB, free: 4.352 MB / 0.9669 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.001467/0.3554, allocations: 400.7 kB / 1.226 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005244/0.356, allocations: 236.1 kB / 1.227 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.356, allocations: 0 / 1.227 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.3562, allocations: 119.8 kB / 1.227 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3565, allocations: 48.03 kB / 1.227 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.3575, allocations: 0.5655 MB / 1.227 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3579, allocations: 0.7658 MB / 1.228 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3581, allocations: 47.41 kB / 1.228 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3581, allocations: 3.938 kB / 1.228 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of Templates: time 0.007844/0.3659, allocations: 4.516 MB / 1.232 GB, free: 13.77 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.147228637943044]