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.001736/0.001736, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002113/0.002113, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.279/3.279, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.001942/0.001942, allocations: 76.12 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3499, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003875/0.3538, allocations: 1.916 MB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003837/0.3576, allocations: 1.767 MB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3577, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.358, allocations: 31.72 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3585, allocations: 115.4 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.3592, allocations: 178 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000463/0.3596, allocations: 301.2 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3598, allocations: 33.05 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3599, allocations: 99.8 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.3603, allocations: 115.6 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.3603, allocations: 20 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.3607, allocations: 135.9 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3609, allocations: 91.73 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.361, allocations: 119.3 kB / 1.326 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.3617, allocations: 386.4 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3617, allocations: 3.938 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3617, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3617, allocations: 0 / 1.326 GB, free: 14.05 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.001157/0.3629, allocations: 0.5961 MB / 1.327 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3629, allocations: 11.98 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.674e-05/0.363, allocations: 54.73 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.3633, allocations: 32.75 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.3637, allocations: 286.9 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3637, allocations: 8.375 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.3638, allocations: 19.94 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.3643, allocations: 244.9 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3643, allocations: 0 / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.3643, allocations: 8 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.3644, allocations: 7.984 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.3658, allocations: 0.749 MB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.3671, allocations: 0.6371 MB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.3679, allocations: 286 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.3681, allocations: 109.3 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.516e-05/0.3682, allocations: 16.25 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.3687, allocations: 179.4 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.3687, allocations: 4 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.00102/0.3697, allocations: 382.5 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3698, allocations: 136.5 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.3704, allocations: 325 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.3704, allocations: 33.7 kB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3706, allocations: 132.7 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.3707, allocations: 126.9 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3709, allocations: 69.55 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.371, allocations: 342.8 kB / 1.331 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3712, allocations: 79.95 kB / 1.331 GB, free: 8.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.3716, allocations: 123.4 kB / 1.331 GB, free: 8.836 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.372, allocations: 213.4 kB / 1.331 GB, free: 8.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.372, allocations: 0 / 1.331 GB, free: 8.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004723/0.3725, allocations: 293.2 kB / 1.331 GB, free: 8.332 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3725, allocations: 7.938 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3725, allocations: 7.938 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3725, allocations: 3.984 kB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3728, allocations: 63.91 kB / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3728, allocations: 0 / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3729, allocations: 23.88 kB / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3729, allocations: 12 kB / 1.331 GB, free: 8.215 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.0001721/0.3731, allocations: 165.7 kB / 1.332 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.3732, allocations: 35.75 kB / 1.332 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007016/0.3739, allocations: 380.6 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3739, allocations: 4 kB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3739, allocations: 3.984 kB / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3739, allocations: 4 kB / 1.332 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.3743, allocations: 353.2 kB / 1.332 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3743, allocations: 0 / 1.332 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3744, allocations: 59.91 kB / 1.332 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3744, allocations: 7.938 kB / 1.332 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3745, allocations: 11.98 kB / 1.332 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3745, allocations: 0 / 1.332 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3745, allocations: 0 / 1.332 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.375, allocations: 334.2 kB / 1.333 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3751, allocations: 144.8 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.3752, allocations: 11.94 kB / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3754, allocations: 31.97 kB / 1.333 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.3754, allocations: 19.97 kB / 1.333 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.3755, allocations: 16 kB / 1.333 GB, free: 6.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000238/0.3757, allocations: 248.4 kB / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3757, allocations: 0 / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003263/0.376, allocations: 87.83 kB / 1.333 GB, free: 6.23 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.002286/0.3783, allocations: 1.216 MB / 1.334 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000414/0.3787, allocations: 223.8 kB / 1.335 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3787, allocations: 0 / 1.335 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.3789, allocations: 119.8 kB / 1.335 GB, free: 4.816 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3792, allocations: 40.42 kB / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.3824, allocations: 2.572 MB / 1.337 GB, free: 2.129 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3828, allocations: 0.7575 MB / 1.338 GB, free: 1.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003471/0.3831, allocations: 158.8 kB / 1.338 GB, free: 1.184 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3833, allocations: 103.4 kB / 1.338 GB, free: 1.086 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3833, allocations: 4 kB / 1.338 GB, free: 1.082 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.4166, allocations: 6.554 MB / 1.345 GB, free: 10.64 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.515, allocations: 2.375 kB / 1.345 GB, free: 10.64 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.43770755105652]