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.00136/0.00136, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001503/0.001503, allocations: 218.2 kB / 22.25 MB, free: 5.258 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.773 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.145/3.145, allocations: 0.49 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] 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.002047/0.002047, allocations: 62.84 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.359, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003904/0.3629, allocations: 1.888 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.366, allocations: 1.78 MB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3661, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3664, allocations: 31.77 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.3668, allocations: 131.3 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.3674, allocations: 177.9 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000402/0.3678, allocations: 293.4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3679, allocations: 21.3 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.3681, allocations: 103.7 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.3683, allocations: 111.6 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.3684, allocations: 20 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3687, allocations: 135.9 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3688, allocations: 87.75 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.3689, allocations: 107.4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.3695, allocations: 374.5 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3695, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3695, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3695, allocations: 0 / 1.331 GB, free: 12.24 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.0009037/0.3704, allocations: 0.5247 MB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3704, allocations: 8.031 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.3705, allocations: 58.67 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.3707, allocations: 32.75 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.371, allocations: 221 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.3711, allocations: 16.38 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.3711, allocations: 23.94 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.3716, allocations: 370.1 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3716, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3717, allocations: 8 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3717, allocations: 4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.3726, allocations: 0.6982 MB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3737, allocations: 0.5738 MB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.3743, allocations: 290.6 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.3744, allocations: 109.3 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.3745, allocations: 12.27 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.3749, allocations: 234.8 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.3749, allocations: 0 / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007479/0.3757, allocations: 378 kB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.3758, allocations: 136.5 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.3762, allocations: 329 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3762, allocations: 29.7 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3764, allocations: 136.7 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3765, allocations: 127 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.3766, allocations: 65.55 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3767, allocations: 338.8 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.3769, allocations: 79.95 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.3771, allocations: 216.6 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.3775, allocations: 209.2 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3775, allocations: 4 kB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004608/0.3779, allocations: 281.1 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.378, allocations: 7.938 kB / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.378, allocations: 0 / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.378, allocations: 11.98 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3782, allocations: 63.91 kB / 1.336 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3782, allocations: 3.984 kB / 1.336 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3784, allocations: 23.88 kB / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.3784, allocations: 12 kB / 1.336 GB, free: 6.375 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.0001744/0.3786, allocations: 161.8 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.3786, allocations: 31.75 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.3793, allocations: 388.7 kB / 1.337 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3794, allocations: 7.984 kB / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3794, allocations: 0 / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3794, allocations: 0 / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.3797, allocations: 288.4 kB / 1.337 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3797, allocations: 4 kB / 1.337 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.3799, allocations: 59.91 kB / 1.337 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.3799, allocations: 3.938 kB / 1.337 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.3799, allocations: 12.03 kB / 1.337 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3799, allocations: 4 kB / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3799, allocations: 7.922 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.3805, allocations: 334.5 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3806, allocations: 67.73 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.3807, allocations: 11.94 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3808, allocations: 27.97 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.3809, allocations: 27.95 kB / 1.338 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.3809, allocations: 8 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002725/0.3812, allocations: 248.4 kB / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 0 / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003481/0.3816, allocations: 83.81 kB / 1.338 GB, free: 4.562 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.002523/0.3841, allocations: 1.256 MB / 1.339 GB, free: 3.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.3846, allocations: 228.1 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3846, allocations: 0 / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.3848, allocations: 119.8 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3851, allocations: 45.78 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.3885, allocations: 2.557 MB / 1.342 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.3886, allocations: 154.9 kB / 1.342 GB, free: 284 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003638/0.389, allocations: 151 kB / 1.342 GB, free: 136 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.3892, allocations: 103.4 kB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of SimCode: time 1.132e-06/0.3892, allocations: 0 / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.4286, allocations: 7.331 MB / 1.35 GB, free: 8.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.89, allocations: 1.219 kB / 1.35 GB, free: 8.77 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.71089311799733]