Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00138/0.00138, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001523/0.001523, allocations: 203 kB / 22.17 MB, free: 5.211 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.427/1.427, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7363, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003283/0.7396, allocations: 1.909 MB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.742, allocations: 1.679 MB / 1.278 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.742, allocations: 0 / 1.278 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.7422, allocations: 31.78 kB / 1.278 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.7425, allocations: 79.55 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.7429, allocations: 170.9 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.7433, allocations: 285.4 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.7434, allocations: 20.92 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.7435, allocations: 99.75 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.7437, allocations: 115.6 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.7438, allocations: 20 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.7439, allocations: 87.95 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.744, allocations: 83.91 kB / 1.279 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.7442, allocations: 127.2 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.7446, allocations: 325.4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7446, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7446, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7446, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 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.0008528/0.7454, allocations: 0.5729 MB / 1.28 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.7455, allocations: 8.031 kB / 1.28 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.7456, allocations: 36.75 kB / 1.28 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.746, allocations: 278.9 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.746, allocations: 16.38 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.746, allocations: 20.12 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.7464, allocations: 244.8 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7465, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.7465, allocations: 8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7465, allocations: 8 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.7475, allocations: 0.7451 MB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.7485, allocations: 0.6331 MB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.7491, allocations: 294.5 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.7492, allocations: 105.4 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.7493, allocations: 16.25 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.7496, allocations: 195.3 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.7496, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007109/0.7503, allocations: 374.2 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.7504, allocations: 136.5 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.7507, allocations: 309 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.7508, allocations: 33.7 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.7509, allocations: 140.7 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.751, allocations: 115 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.7511, allocations: 65.67 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.7512, allocations: 338.8 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.7514, allocations: 79.95 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.7516, allocations: 133.1 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.7519, allocations: 217.1 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7519, allocations: 0 / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004676/0.7524, allocations: 281.2 kB / 1.284 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7524, allocations: 4 kB / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7524, allocations: 7.938 kB / 1.284 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7524, allocations: 0 / 1.284 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.7527, allocations: 63.91 kB / 1.284 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7527, allocations: 0 / 1.284 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.7529, allocations: 39.7 kB / 1.284 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.7529, allocations: 15.98 kB / 1.284 GB, free: 9.816 MB / 0.9825 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.0001728/0.7531, allocations: 161.8 kB / 1.284 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.7531, allocations: 23.86 kB / 1.284 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007117/0.7538, allocations: 400.6 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7538, allocations: 0 / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7538, allocations: 4 kB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.7538, allocations: 3.984 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.7542, allocations: 337.3 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7542, allocations: 0 / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.7544, allocations: 59.91 kB / 1.285 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7544, allocations: 4 kB / 1.285 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.7544, allocations: 19.92 kB / 1.285 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7544, allocations: 0 / 1.285 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.7544, allocations: 4 kB / 1.285 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.7549, allocations: 321.8 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.7551, allocations: 144.8 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.7551, allocations: 11.94 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.7553, allocations: 24.02 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.7554, allocations: 31.95 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.7554, allocations: 12 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000229/0.7556, allocations: 244.4 kB / 1.286 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7556, allocations: 0 / 1.286 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003021/0.7559, allocations: 63.89 kB / 1.286 GB, free: 7.887 MB / 0.9825 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.001464/0.7574, allocations: 414.6 kB / 1.286 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.7578, allocations: 227.9 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7578, allocations: 8 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.758, allocations: 119.9 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.7583, allocations: 40.41 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.7592, allocations: 0.5443 MB / 1.287 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.7596, allocations: 0.7614 MB / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.76, allocations: 154.8 kB / 1.288 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-05/0.7601, allocations: 47.41 kB / 1.288 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7601, allocations: 0 / 1.288 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.007902/0.768, allocations: 3.515 MB / 1.292 GB, free: 2.207 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.669085781089962]