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.001835/0.001835, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002333/0.002333, allocations: 218.2 kB / 23.03 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.128/3.128, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",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.001983/0.001983, allocations: 65.86 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003346/0.3365, allocations: 1.874 MB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.3392, allocations: 1.78 MB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.745e-05/0.3393, allocations: 7.938 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.3395, allocations: 27.78 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.3399, allocations: 123.4 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.3403, allocations: 168.8 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000343/0.3406, allocations: 301.2 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3408, allocations: 40.95 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3409, allocations: 91.83 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3411, allocations: 115.6 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.3411, allocations: 20 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.3413, allocations: 119.9 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3414, allocations: 87.8 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3416, allocations: 107.4 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.342, allocations: 382.4 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.342, allocations: 0 / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.342, allocations: 0 / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3421, allocations: 4 kB / 1.35 GB, free: 10.69 MB / 1.045 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.0008274/0.3429, allocations: 0.5169 MB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3429, allocations: 8.031 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.6e-05/0.3429, allocations: 4.188 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.343, allocations: 58.72 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.3431, allocations: 32.75 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3435, allocations: 233 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3435, allocations: 16.12 kB / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.3435, allocations: 16 kB / 1.351 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.344, allocations: 374 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.344, allocations: 4 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.344, allocations: 8 kB / 1.352 GB, free: 9.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3441, allocations: 4 kB / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/0.345, allocations: 0.749 MB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3461, allocations: 0.5737 MB / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.3466, allocations: 290.6 kB / 1.353 GB, free: 7.652 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.3468, allocations: 97.36 kB / 1.353 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.3468, allocations: 24.27 kB / 1.353 GB, free: 7.531 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.3472, allocations: 234.8 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.3472, allocations: 0 / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.0007248/0.348, allocations: 375.2 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.3481, allocations: 136.5 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.3484, allocations: 317.1 kB / 1.354 GB, free: 6.422 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.3484, allocations: 37.64 kB / 1.354 GB, free: 6.379 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3485, allocations: 140.7 kB / 1.354 GB, free: 6.238 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3486, allocations: 122.9 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3488, allocations: 69.55 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3489, allocations: 338.8 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3491, allocations: 87.95 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3493, allocations: 204.6 kB / 1.355 GB, free: 5.387 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.3496, allocations: 213.2 kB / 1.355 GB, free: 5.176 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3496, allocations: 0 / 1.355 GB, free: 5.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004658/0.3501, allocations: 289.1 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3501, allocations: 11.94 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3501, allocations: 0 / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3501, allocations: 0 / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.3504, allocations: 59.91 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3504, allocations: 7.984 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3505, allocations: 34.52 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3506, allocations: 11.98 kB / 1.356 GB, free: 4.766 MB / 1.045 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.3507, allocations: 161.8 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.3508, allocations: 31.8 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.3515, allocations: 388.7 kB / 1.356 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3515, allocations: 4 kB / 1.356 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3515, allocations: 0 / 1.356 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3515, allocations: 3.984 kB / 1.356 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.3519, allocations: 288.5 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3519, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.352, allocations: 55.91 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3521, allocations: 7.938 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3521, allocations: 15.98 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3521, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3521, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.3526, allocations: 330.4 kB / 1.357 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.3527, allocations: 79.61 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.3528, allocations: 8 kB / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.353, allocations: 23.98 kB / 1.357 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.353, allocations: 23.94 kB / 1.357 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.3531, allocations: 16 kB / 1.357 GB, free: 3.277 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00023/0.3533, allocations: 244.4 kB / 1.357 GB, free: 3.039 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 7.938 kB / 1.357 GB, free: 3.031 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003399/0.3536, allocations: 83.86 kB / 1.358 GB, free: 2.949 MB / 1.045 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.002399/0.356, allocations: 1.241 MB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004419/0.3565, allocations: 220.1 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3565, allocations: 7.938 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3567, allocations: 119.9 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.357, allocations: 39.66 kB / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.3602, allocations: 2.577 MB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.3603, allocations: 154.9 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003451/0.3607, allocations: 155 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.3608, allocations: 95.39 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3608, allocations: 0 / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.3914, allocations: 6.949 MB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.02, allocations: 8.422 kB / 1.369 GB, free: 7.559 MB / 1.061 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.870819383999333]