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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.617/2.617, allocations: 489.7 MB / 0.7761 GB, free: 2.531 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=501,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=501,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 63.89 kB / 1.127 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.848, allocations: 172.1 MB / 1.295 GB, free: 38.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002398/0.8504, allocations: 1.89 MB / 1.297 GB, free: 37.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.8519, allocations: 1.642 MB / 1.298 GB, free: 36.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.852, allocations: 0 / 1.298 GB, free: 36.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.8521, allocations: 29.33 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.8524, allocations: 78.12 kB / 1.298 GB, free: 36.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.8527, allocations: 177.2 kB / 1.299 GB, free: 36.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.8529, allocations: 285.6 kB / 1.299 GB, free: 35.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.022e-05/0.853, allocations: 27.62 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.8531, allocations: 96.62 kB / 1.299 GB, free: 35.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.8532, allocations: 114.7 kB / 1.299 GB, free: 35.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.8533, allocations: 20.28 kB / 1.299 GB, free: 35.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.8534, allocations: 82.28 kB / 1.299 GB, free: 35.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.8535, allocations: 88.05 kB / 1.299 GB, free: 35.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.8536, allocations: 117.9 kB / 1.299 GB, free: 35.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.8538, allocations: 332.4 kB / 1.3 GB, free: 35.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.8538, allocations: 0 / 1.3 GB, free: 35.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8538, allocations: 4 kB / 1.3 GB, free: 35.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.8539, allocations: 3.141 kB / 1.3 GB, free: 35.52 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.0005802/0.8544, allocations: 0.5627 MB / 1.3 GB, free: 35.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.8545, allocations: 8.781 kB / 1.3 GB, free: 35.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.8546, allocations: 38.39 kB / 1.3 GB, free: 35.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.8548, allocations: 276.9 kB / 1.301 GB, free: 34.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.8548, allocations: 14.28 kB / 1.301 GB, free: 34.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.8549, allocations: 19.69 kB / 1.301 GB, free: 34.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.8552, allocations: 243.7 kB / 1.301 GB, free: 34.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8552, allocations: 0 / 1.301 GB, free: 34.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.8552, allocations: 10.84 kB / 1.301 GB, free: 34.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8552, allocations: 4.75 kB / 1.301 GB, free: 34.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.8558, allocations: 0.745 MB / 1.302 GB, free: 34.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.8566, allocations: 0.6389 MB / 1.302 GB, free: 34.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.8569, allocations: 290.2 kB / 1.302 GB, free: 33.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8571, allocations: 104.3 kB / 1.303 GB, free: 33.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.8571, allocations: 26.69 kB / 1.303 GB, free: 33.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.8573, allocations: 181 kB / 1.303 GB, free: 33.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.8573, allocations: 0 / 1.303 GB, free: 33.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0005287/0.8579, allocations: 377.6 kB / 1.303 GB, free: 33.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.8579, allocations: 131.6 kB / 1.303 GB, free: 33.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.8581, allocations: 312.6 kB / 1.304 GB, free: 33.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.8581, allocations: 36.36 kB / 1.304 GB, free: 33.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.8582, allocations: 140.3 kB / 1.304 GB, free: 33.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.8582, allocations: 118.3 kB / 1.304 GB, free: 33.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.8583, allocations: 58.7 kB / 1.304 GB, free: 33.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.8583, allocations: 350.4 kB / 1.304 GB, free: 32.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.8584, allocations: 77.98 kB / 1.304 GB, free: 32.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.8586, allocations: 129.7 kB / 1.304 GB, free: 32.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.8588, allocations: 212.2 kB / 1.305 GB, free: 32.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8588, allocations: 0 / 1.305 GB, free: 32.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003369/0.8592, allocations: 285.7 kB / 1.305 GB, free: 32.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.8592, allocations: 12.75 kB / 1.305 GB, free: 32.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8592, allocations: 7.938 kB / 1.305 GB, free: 32.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8592, allocations: 2.875 kB / 1.305 GB, free: 32.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.8594, allocations: 55.53 kB / 1.305 GB, free: 32.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.8594, allocations: 3.938 kB / 1.305 GB, free: 32.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.8595, allocations: 38.62 kB / 1.305 GB, free: 32.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.8596, allocations: 11.83 kB / 1.305 GB, free: 32.44 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.0001036/0.8597, allocations: 160.9 kB / 1.305 GB, free: 32.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.8597, allocations: 28.97 kB / 1.305 GB, free: 32.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.8602, allocations: 388.9 kB / 1.306 GB, free: 32.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.8602, allocations: 5.5 kB / 1.306 GB, free: 32.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.8602, allocations: 4 kB / 1.306 GB, free: 32.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8602, allocations: 0 / 1.306 GB, free: 32.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.8604, allocations: 343.4 kB / 1.306 GB, free: 31.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8604, allocations: 2.844 kB / 1.306 GB, free: 31.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.8606, allocations: 58.78 kB / 1.306 GB, free: 31.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8606, allocations: 6.641 kB / 1.306 GB, free: 31.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.8606, allocations: 14.25 kB / 1.306 GB, free: 31.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8606, allocations: 2.938 kB / 1.306 GB, free: 31.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8606, allocations: 0 / 1.306 GB, free: 31.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.861, allocations: 331.1 kB / 1.306 GB, free: 31.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.8611, allocations: 146.5 kB / 1.306 GB, free: 31.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.8611, allocations: 14.27 kB / 1.306 GB, free: 31.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.8613, allocations: 25.83 kB / 1.306 GB, free: 31.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.8613, allocations: 26 kB / 1.307 GB, free: 31.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.8613, allocations: 18.41 kB / 1.307 GB, free: 31.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000138/0.8615, allocations: 237 kB / 1.307 GB, free: 31.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8615, allocations: 0 / 1.307 GB, free: 31.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002596/0.8617, allocations: 68.28 kB / 1.307 GB, free: 31.38 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.001238/0.863, allocations: 411.5 kB / 1.307 GB, free: 31.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.8633, allocations: 219.1 kB / 1.307 GB, free: 31.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8633, allocations: 0 / 1.307 GB, free: 31.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.8634, allocations: 123.8 kB / 1.308 GB, free: 31.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.8637, allocations: 41.81 kB / 1.308 GB, free: 31.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.8643, allocations: 0.5696 MB / 1.308 GB, free: 30.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.8644, allocations: 0.7647 MB / 1.309 GB, free: 30.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.8645, allocations: 56.81 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.8645, allocations: 0 / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of Templates: time 0.005085/0.8696, allocations: 4.496 MB / 1.313 GB, free: 29.47 MB / 1.061 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] 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] "" Variables in the reference:time,cheTemDryBul.TDryBul,cheTemDewPoi.TDewPoi Variables in the result:cheTemDewPoi.TDewPoi,cheTemDryBul.TDryBul,time