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.001387/0.001387, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001794/0.001794, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.797 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.206/3.206, allocations: 0.5107 GB / 0.8158 GB, free: 17.98 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [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.00208/0.00208, allocations: 71.94 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00395/0.345, allocations: 1.886 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00298/0.348, allocations: 1.777 MB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.3481, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.3483, allocations: 31.72 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.3487, allocations: 123.4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.3492, allocations: 172.2 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.3496, allocations: 305.2 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3497, allocations: 21.3 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3499, allocations: 95.77 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3501, allocations: 101.7 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.3501, allocations: 20 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3504, allocations: 135.8 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3505, allocations: 91.73 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.3506, allocations: 99.45 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.3512, allocations: 382.5 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3512, allocations: 0 / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3512, allocations: 0 / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3512, allocations: 0 / 1.368 GB, free: 8.891 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.0008535/0.352, allocations: 0.5131 MB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3521, allocations: 12.03 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.3521, allocations: 58.72 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3523, allocations: 40.7 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3526, allocations: 221 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3526, allocations: 12.38 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3527, allocations: 23.94 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.3532, allocations: 366.1 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3532, allocations: 0 / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3532, allocations: 12 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.3532, allocations: 4 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.3541, allocations: 0.6982 MB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3552, allocations: 0.5815 MB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.3557, allocations: 286.6 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3559, allocations: 105.3 kB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.3559, allocations: 16.25 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.3563, allocations: 238.8 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.3563, allocations: 0 / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0007082/0.357, allocations: 381.6 kB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/0.3571, allocations: 136.5 kB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.3575, allocations: 313.1 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.3575, allocations: 41.7 kB / 1.372 GB, free: 4.637 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3576, allocations: 136.7 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3577, allocations: 122.9 kB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.3578, allocations: 73.48 kB / 1.373 GB, free: 4.297 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3579, allocations: 338.8 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3581, allocations: 79.95 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3583, allocations: 200.5 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.3587, allocations: 218.3 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3587, allocations: 0 / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000474/0.3591, allocations: 281.3 kB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3592, allocations: 11.94 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3592, allocations: 0 / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3592, allocations: 3.938 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3594, allocations: 67.91 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3594, allocations: 3.984 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3596, allocations: 30.92 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.3596, allocations: 11.98 kB / 1.374 GB, free: 3.031 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.0001679/0.3598, allocations: 162.8 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.3598, allocations: 39.69 kB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/0.3605, allocations: 389 kB / 1.374 GB, free: 2.438 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3605, allocations: 0 / 1.374 GB, free: 2.438 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3605, allocations: 4 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3606, allocations: 7.984 kB / 1.374 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.3609, allocations: 284.5 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3609, allocations: 0 / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.3611, allocations: 59.91 kB / 1.375 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3611, allocations: 3.938 kB / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.3611, allocations: 11.98 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.3611, allocations: 8 kB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3611, allocations: 0 / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.3616, allocations: 330.2 kB / 1.375 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.3618, allocations: 71.67 kB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.3618, allocations: 11.94 kB / 1.375 GB, free: 1.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.362, allocations: 27.92 kB / 1.375 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.362, allocations: 27.94 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.3621, allocations: 12 kB / 1.375 GB, free: 1.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002382/0.3623, allocations: 244.4 kB / 1.376 GB, free: 1.293 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3623, allocations: 0 / 1.376 GB, free: 1.293 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003228/0.3626, allocations: 83.86 kB / 1.376 GB, free: 1.211 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.002374/0.365, allocations: 1.246 MB / 1.377 GB, free: 128 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000449/0.3655, allocations: 219.7 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3655, allocations: 0 / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.3657, allocations: 119.8 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.366, allocations: 52.22 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.3692, allocations: 2.558 MB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.3694, allocations: 158.9 kB / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003445/0.3697, allocations: 147 kB / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3699, allocations: 103.3 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3699, allocations: 4 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/0.4095, allocations: 7.21 MB / 1.387 GB, free: 5.559 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.72, allocations: 9.719 kB / 1.387 GB, free: 5.551 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 840.0] 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: 18.54334022430703]