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.001672/0.001672, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002222/0.002222, allocations: 217.1 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.295/3.295, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 74.06 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.421, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004472/0.4255, allocations: 1.889 MB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.4287, allocations: 1.777 MB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.4288, allocations: 4 kB / 1.368 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.4291, allocations: 35.7 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.4296, allocations: 115.4 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.4302, allocations: 180.4 kB / 1.369 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.4306, allocations: 293.4 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.4307, allocations: 25.3 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.4309, allocations: 103.7 kB / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.4311, allocations: 95.7 kB / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.4312, allocations: 20 kB / 1.369 GB, free: 9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.4314, allocations: 131.9 kB / 1.369 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.4316, allocations: 87.75 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.4317, allocations: 107.4 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.4323, allocations: 370.5 kB / 1.37 GB, free: 8.316 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4323, allocations: 0 / 1.37 GB, free: 8.316 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4323, allocations: 0 / 1.37 GB, free: 8.316 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4323, allocations: 4 kB / 1.37 GB, free: 8.312 MB / 1.061 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.0009341/0.4333, allocations: 0.5247 MB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4333, allocations: 12.02 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.4335, allocations: 36.7 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.4338, allocations: 221.1 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.4339, allocations: 16.38 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.4339, allocations: 16.12 kB / 1.371 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.4344, allocations: 370.2 kB / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4345, allocations: 0 / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.4345, allocations: 4 kB / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4345, allocations: 12 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.4354, allocations: 0.6981 MB / 1.372 GB, free: 6.316 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.4365, allocations: 0.5392 MB / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.437, allocations: 282.6 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4372, allocations: 101.4 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.4373, allocations: 12.27 kB / 1.372 GB, free: 5.348 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004402/0.4377, allocations: 238.8 kB / 1.373 GB, free: 5.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.4377, allocations: 4 kB / 1.373 GB, free: 5.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0007465/0.4385, allocations: 381.6 kB / 1.373 GB, free: 4.707 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4386, allocations: 136.5 kB / 1.373 GB, free: 4.543 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.4389, allocations: 321.1 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.439, allocations: 33.7 kB / 1.374 GB, free: 4.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4391, allocations: 132.7 kB / 1.374 GB, free: 4.043 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.4392, allocations: 123 kB / 1.374 GB, free: 3.922 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4393, allocations: 69.55 kB / 1.374 GB, free: 3.848 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4395, allocations: 342.8 kB / 1.374 GB, free: 3.504 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4397, allocations: 79.95 kB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.4399, allocations: 208.4 kB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.4403, allocations: 222.3 kB / 1.375 GB, free: 2.973 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4403, allocations: 0 / 1.375 GB, free: 2.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004787/0.4408, allocations: 277.3 kB / 1.375 GB, free: 2.695 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4408, allocations: 4 kB / 1.375 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4408, allocations: 0 / 1.375 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.4408, allocations: 7.938 kB / 1.375 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.441, allocations: 59.91 kB / 1.375 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4411, allocations: 3.938 kB / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.4412, allocations: 35.83 kB / 1.375 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4412, allocations: 11.98 kB / 1.375 GB, free: 2.574 MB / 1.061 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.0001956/0.4414, allocations: 166.8 kB / 1.375 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.4415, allocations: 27.81 kB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007308/0.4422, allocations: 397 kB / 1.376 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.4422, allocations: 7.938 kB / 1.376 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4422, allocations: 0 / 1.376 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4423, allocations: 3.984 kB / 1.376 GB, free: 1.969 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.4426, allocations: 245 kB / 1.376 GB, free: 1.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4426, allocations: 0 / 1.376 GB, free: 1.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4427, allocations: 63.91 kB / 1.376 GB, free: 1.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4427, allocations: 0 / 1.376 GB, free: 1.637 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.4428, allocations: 8 kB / 1.376 GB, free: 1.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4428, allocations: 4 kB / 1.376 GB, free: 1.625 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4428, allocations: 7.938 kB / 1.376 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.4433, allocations: 330.2 kB / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.4434, allocations: 71.69 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.4435, allocations: 4 kB / 1.376 GB, free: 1.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.4437, allocations: 23.97 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.4437, allocations: 31.89 kB / 1.376 GB, free: 1.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.4438, allocations: 15.98 kB / 1.376 GB, free: 1.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002679/0.444, allocations: 248.4 kB / 1.377 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.444, allocations: 0 / 1.377 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003361/0.4444, allocations: 83.86 kB / 1.377 GB, free: 0.8047 MB / 1.061 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.001766/0.4461, allocations: 497 kB / 1.377 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.4466, allocations: 223.7 kB / 1.377 GB, free: 292 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4466, allocations: 0 / 1.377 GB, free: 292 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.4468, allocations: 124.6 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4471, allocations: 41.41 kB / 1.378 GB, free: 128 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4481, allocations: 0.5704 MB / 1.378 GB, free: 15.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.4483, allocations: 166.8 kB / 1.378 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4484, allocations: 51.41 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.4484, allocations: 0 / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of Templates: time 0.008685/0.4571, allocations: 4.97 MB / 1.383 GB, free: 10.32 MB / 1.076 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/jenkins1/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: 12.368599379900843]