Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001309/0.001309, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00156/0.00156, allocations: 213.6 kB / 22.24 MB, free: 5.238 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.225/3.225, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_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.002003/0.002003, allocations: 67.66 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3194, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003191/0.3225, allocations: 1.886 MB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.3252, allocations: 1.785 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.3253, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.3255, allocations: 19.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.3259, allocations: 127.3 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.3264, allocations: 176.1 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.3267, allocations: 289.4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3268, allocations: 25.3 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.327, allocations: 103.7 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3272, allocations: 95.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.3272, allocations: 20 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.3274, allocations: 131.9 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3276, allocations: 91.73 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3277, allocations: 103.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.3281, allocations: 378.5 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3281, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.478e-06/0.3281, allocations: 7.984 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3281, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 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.0007896/0.3289, allocations: 0.5105 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.329, allocations: 8.031 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.329, allocations: 58.67 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3292, allocations: 36.69 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3295, allocations: 236.9 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3295, allocations: 12.38 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3295, allocations: 23.94 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.33, allocations: 370.1 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.33, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.33, allocations: 4 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.33, allocations: 8 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008822/0.3309, allocations: 0.7021 MB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.3319, allocations: 0.5776 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.3325, allocations: 286.6 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3326, allocations: 105.4 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.3327, allocations: 16.27 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.3331, allocations: 234.8 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.3331, allocations: 0 / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.000692/0.3337, allocations: 378 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.3338, allocations: 132.5 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.3342, allocations: 325.1 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3342, allocations: 33.7 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3343, allocations: 132.7 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3344, allocations: 126.9 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3345, allocations: 73.55 kB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3347, allocations: 338.8 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3348, allocations: 79.95 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.3351, allocations: 212.6 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.3354, allocations: 209.2 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3354, allocations: 0 / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004676/0.3359, allocations: 289.1 kB / 1.335 GB, free: 7.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3359, allocations: 7.938 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3359, allocations: 4 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3359, allocations: 0 / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.3362, allocations: 59.91 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3362, allocations: 8 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3363, allocations: 23.88 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.3364, allocations: 12 kB / 1.336 GB, free: 7.301 MB / 1.029 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.0001861/0.3366, allocations: 161.8 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.3366, allocations: 39.69 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000691/0.3373, allocations: 388.7 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3373, allocations: 4 kB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3373, allocations: 0 / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3373, allocations: 0 / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.3377, allocations: 292.3 kB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3377, allocations: 3.984 kB / 1.336 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.3378, allocations: 63.92 kB / 1.336 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.3379, allocations: 7.938 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3379, allocations: 11.98 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3379, allocations: 0 / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3379, allocations: 0 / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.3384, allocations: 330.5 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3385, allocations: 67.73 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.3386, allocations: 7.938 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.3387, allocations: 32 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.3388, allocations: 23.95 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.3388, allocations: 16 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002368/0.3391, allocations: 252.4 kB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3391, allocations: 0 / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003338/0.3394, allocations: 83.83 kB / 1.337 GB, free: 5.48 MB / 1.029 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.002404/0.3418, allocations: 1.255 MB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.3422, allocations: 220.1 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3422, allocations: 0 / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.3424, allocations: 119.8 kB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3428, allocations: 46.03 kB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.3459, allocations: 2.561 MB / 1.341 GB, free: 1.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3461, allocations: 154.9 kB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003379/0.3464, allocations: 138.9 kB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.3466, allocations: 111.3 kB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3466, allocations: 0 / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.3842, allocations: 7.217 MB / 1.349 GB, free: 9.809 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.97, allocations: 10.3 kB / 1.349 GB, free: 9.801 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.865100028924644]