Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001693/0.001693, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.002322/0.002322, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 59.91 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8175, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004464/0.8219, allocations: 1.895 MB / 1.215 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.8251, allocations: 1.588 MB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.8253, allocations: 6.219 kB / 1.216 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.8255, allocations: 31.14 kB / 1.216 GB, free: 1.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.826, allocations: 74.94 kB / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.8266, allocations: 168.7 kB / 1.217 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.827, allocations: 279.1 kB / 1.217 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.8271, allocations: 26.86 kB / 1.217 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.8273, allocations: 97.33 kB / 1.217 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.8277, allocations: 109.7 kB / 1.217 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.8277, allocations: 19.53 kB / 1.217 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.828, allocations: 88.59 kB / 1.217 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.8281, allocations: 87.61 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.8284, allocations: 122.5 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.8292, allocations: 324.1 kB / 1.218 GB, free: 276 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8292, allocations: 0 / 1.218 GB, free: 276 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8292, allocations: 0 / 1.218 GB, free: 276 kB / 0.92 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.8292, allocations: 9.203 kB / 1.218 GB, free: 268 kB / 0.92 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.00171/0.8309, allocations: 0.5692 MB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.831, allocations: 10.36 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.8311, allocations: 57.61 kB / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.8313, allocations: 37.3 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.8318, allocations: 273.6 kB / 1.219 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.8318, allocations: 16.06 kB / 1.219 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.8318, allocations: 19.28 kB / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.8325, allocations: 237.1 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.8325, allocations: 0 / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.8325, allocations: 14.28 kB / 1.219 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.8326, allocations: 5.312 kB / 1.219 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.8341, allocations: 0.7515 MB / 1.22 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.8359, allocations: 0.6342 MB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/0.8368, allocations: 287.8 kB / 1.221 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.8371, allocations: 104.1 kB / 1.221 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.8372, allocations: 21.83 kB / 1.221 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006928/0.8379, allocations: 183.6 kB / 1.221 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 3.176e-06/0.8379, allocations: 0 / 1.221 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.001169/0.839, allocations: 383.6 kB / 1.221 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.8392, allocations: 133 kB / 1.221 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.8397, allocations: 313.9 kB / 1.222 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.8397, allocations: 32.33 kB / 1.222 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.8399, allocations: 138 kB / 1.222 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.8401, allocations: 122.9 kB / 1.222 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.8402, allocations: 61.19 kB / 1.222 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003078/0.8405, allocations: 341.9 kB / 1.222 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.8408, allocations: 84.67 kB / 1.222 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.8411, allocations: 129.3 kB / 1.222 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.8417, allocations: 216.9 kB / 1.223 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8417, allocations: 0 / 1.223 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007479/0.8425, allocations: 283 kB / 1.223 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.8425, allocations: 12.33 kB / 1.223 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.8425, allocations: 5.344 kB / 1.223 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.8425, allocations: 1.344 kB / 1.223 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.8429, allocations: 64.03 kB / 1.223 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8429, allocations: 5.156 kB / 1.223 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.8432, allocations: 24.41 kB / 1.223 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.8432, allocations: 12.88 kB / 1.223 GB, free: 12.38 MB / 0.9356 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.0002581/0.8435, allocations: 162.3 kB / 1.223 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.8436, allocations: 33.38 kB / 1.223 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.8447, allocations: 390.9 kB / 1.224 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8447, allocations: 2.719 kB / 1.224 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8447, allocations: 5.312 kB / 1.224 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.8447, allocations: 0 / 1.224 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.8453, allocations: 344.9 kB / 1.224 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8454, allocations: 0 / 1.224 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.8456, allocations: 63.09 kB / 1.224 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.8457, allocations: 4.969 kB / 1.224 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.8457, allocations: 8.031 kB / 1.224 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.8457, allocations: 1.375 kB / 1.224 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.8457, allocations: 5 kB / 1.224 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/0.8465, allocations: 327 kB / 1.224 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.8468, allocations: 143.2 kB / 1.225 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.8468, allocations: 10.66 kB / 1.225 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.8471, allocations: 23.25 kB / 1.225 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/0.8472, allocations: 29.11 kB / 1.225 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.8473, allocations: 16.73 kB / 1.225 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004131/0.8477, allocations: 238.2 kB / 1.225 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8477, allocations: 0 / 1.225 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005332/0.8482, allocations: 69.77 kB / 1.225 GB, free: 11.09 MB / 0.9356 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.003088/0.8513, allocations: 1.165 MB / 1.226 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006632/0.852, allocations: 222.2 kB / 1.226 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.852, allocations: 0 / 1.226 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.8523, allocations: 128.7 kB / 1.226 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.8528, allocations: 47.45 kB / 1.226 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.8578, allocations: 2.533 MB / 1.229 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.8584, allocations: 0.7656 MB / 1.23 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000589/0.859, allocations: 147 kB / 1.23 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.8593, allocations: 95.39 kB / 1.23 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/0.8593, allocations: 0 / 1.23 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04903/0.9083, allocations: 6.083 MB / 1.236 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/9.395, allocations: 10.62 kB / 1.236 GB, free: 0.5 MB / 0.9356 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.268881110008806]