Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8511/0.8511, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.709/1.709, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.642e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002036/0.002052, allocations: 1.882 MB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.003537, allocations: 1.792 MB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.003612, allocations: 4 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.003815, allocations: 27.67 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.004114, allocations: 131.2 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.004358, allocations: 169 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.004599, allocations: 305.1 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.004716, allocations: 29.23 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.004839, allocations: 147.7 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.004983, allocations: 91.8 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.005011, allocations: 28 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.005165, allocations: 123.9 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.005248, allocations: 91.73 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.005317, allocations: 87.73 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.005642, allocations: 398.7 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005644, allocations: 0 / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005645, allocations: 0 / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.005649, allocations: 0 / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006021/0.006251, allocations: 0.5212 MB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.006283, allocations: 20.69 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.006392, allocations: 32.75 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.006607, allocations: 220.7 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.006624, allocations: 16.75 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.006777, allocations: 20.38 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.00707, allocations: 365.4 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007081, allocations: 3.938 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.007101, allocations: 15.98 kB / 1.007 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007105, allocations: 4 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.007626, allocations: 0.7015 MB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/0.008315, allocations: 0.5428 MB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.008652, allocations: 286.4 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.008763, allocations: 104.8 kB / 1.009 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.008796, allocations: 15.98 kB / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.009029, allocations: 244 kB / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.232e-06/0.00903, allocations: 0 / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.0004543/0.009485, allocations: 381.6 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.009543, allocations: 140.4 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.009769, allocations: 329.8 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.009792, allocations: 37.7 kB / 1.01 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.009856, allocations: 145 kB / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.00992, allocations: 123 kB / 1.01 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.00998, allocations: 65.69 kB / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.01006, allocations: 338.8 kB / 1.011 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.01016, allocations: 83.95 kB / 1.011 GB, free: 2.746 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.01031, allocations: 208.5 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.01054, allocations: 222 kB / 1.011 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01054, allocations: 0 / 1.011 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002925/0.01083, allocations: 298.2 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.01084, allocations: 8 kB / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01085, allocations: 0 / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01086, allocations: 0 / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01099, allocations: 63.91 kB / 1.011 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.01099, allocations: 4 kB / 1.011 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.01107, allocations: 31.77 kB / 1.011 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.01108, allocations: 8 kB / 1.011 GB, free: 1.883 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.000108/0.01119, allocations: 169.7 kB / 1.012 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.01122, allocations: 35.75 kB / 1.012 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.01162, allocations: 388.8 kB / 1.012 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01162, allocations: 4 kB / 1.012 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01163, allocations: 8 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01163, allocations: 3.938 kB / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.01182, allocations: 245.1 kB / 1.012 GB, free: 1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.01182, allocations: 0 / 1.012 GB, free: 1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.01191, allocations: 59.91 kB / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01191, allocations: 0 / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01193, allocations: 8 kB / 1.012 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01193, allocations: 4 kB / 1.012 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01193, allocations: 0 / 1.012 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.01223, allocations: 339.1 kB / 1.013 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.0123, allocations: 79.62 kB / 1.013 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.01233, allocations: 16 kB / 1.013 GB, free: 500 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.01241, allocations: 27.91 kB / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.01245, allocations: 19.95 kB / 1.013 GB, free: 452 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01246, allocations: 19.98 kB / 1.013 GB, free: 432 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001394/0.0126, allocations: 245.2 kB / 1.013 GB, free: 192 kB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.0126, allocations: 0 / 1.013 GB, free: 192 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002024/0.01281, allocations: 87.8 kB / 1.013 GB, free: 104 kB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000719/0.01352, allocations: 0.4913 MB / 1.014 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01381, allocations: 231.4 kB / 1.014 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.01381, allocations: 7.938 kB / 1.014 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01393, allocations: 111.9 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.01426, allocations: 46.98 kB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.01486, allocations: 0.5788 MB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.01495, allocations: 155 kB / 1.015 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.01503, allocations: 60.47 kB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of SimCode: time 9.02e-07/0.01503, allocations: 0 / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of Templates: time 0.004503/0.01953, allocations: 5.036 MB / 1.02 GB, free: 9.535 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.76892716716975]