Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00207/0.00207, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002613/0.002613, allocations: 214.8 kB / 22.25 MB, free: 5.129 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_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.00204/0.00204, allocations: 63.67 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003718/0.352, allocations: 1.928 MB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.355, allocations: 1.862 MB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.3551, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.3553, allocations: 27.78 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.3557, allocations: 119.4 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.3562, allocations: 184.1 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.3566, allocations: 301.3 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3567, allocations: 17.31 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3568, allocations: 103.8 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.3571, allocations: 115.6 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.3571, allocations: 20 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.3574, allocations: 139.9 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3575, allocations: 91.73 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.3576, allocations: 119.3 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.3581, allocations: 378.6 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3581, allocations: 4 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3581, allocations: 0 / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3581, allocations: 0 / 1.289 GB, free: 6.344 MB / 0.9825 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.0008356/0.3589, allocations: 0.513 MB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.359, allocations: 12.03 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.3591, allocations: 58.67 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3592, allocations: 32.75 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.3595, allocations: 233 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3596, allocations: 12.38 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.3596, allocations: 23.94 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.36, allocations: 236.9 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.36, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.36, allocations: 4 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.36, allocations: 8 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009288/0.361, allocations: 0.7489 MB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3621, allocations: 0.6167 MB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.3626, allocations: 286.4 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3628, allocations: 101.4 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.3628, allocations: 16.25 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.3632, allocations: 191.4 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.3632, allocations: 0 / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007366/0.364, allocations: 376.1 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3641, allocations: 136.5 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.3644, allocations: 321.1 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.3644, allocations: 33.7 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3646, allocations: 136.7 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3647, allocations: 127 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3648, allocations: 65.69 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3649, allocations: 342.8 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3651, allocations: 83.81 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.3653, allocations: 135.4 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.3656, allocations: 208.6 kB / 1.294 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3656, allocations: 0 / 1.294 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004764/0.3661, allocations: 293.7 kB / 1.294 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3661, allocations: 7.938 kB / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3661, allocations: 0 / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3661, allocations: 4 kB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3664, allocations: 59.91 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3664, allocations: 0 / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3665, allocations: 23.88 kB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.3665, allocations: 12 kB / 1.294 GB, free: 0.7148 MB / 0.9825 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.0001789/0.3667, allocations: 174.3 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.3668, allocations: 31.75 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.3675, allocations: 388.7 kB / 1.294 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3675, allocations: 4 kB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3675, allocations: 0 / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3675, allocations: 7.984 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.3679, allocations: 320.3 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3679, allocations: 0 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.368, allocations: 67.91 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.368, allocations: 3.938 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.3681, allocations: 8 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3681, allocations: 3.984 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3681, allocations: 0 / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.3686, allocations: 334.5 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3687, allocations: 67.73 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.3688, allocations: 7.938 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3689, allocations: 27.97 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.369, allocations: 23.95 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.369, allocations: 15.98 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002515/0.3693, allocations: 252.4 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3693, allocations: 0 / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003513/0.3696, allocations: 79.83 kB / 1.296 GB, free: 14.86 MB / 0.9981 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.00235/0.372, allocations: 1.231 MB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.3724, allocations: 224.1 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3724, allocations: 0 / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3726, allocations: 123.8 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.373, allocations: 40.33 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.3764, allocations: 2.573 MB / 1.3 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3768, allocations: 0.7619 MB / 1.3 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.3772, allocations: 150.8 kB / 1.301 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3773, allocations: 103.4 kB / 1.301 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3773, allocations: 0 / 1.301 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.4136, allocations: 6.816 MB / 1.307 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.19, allocations: 15.44 kB / 1.307 GB, free: 2.941 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.11665655300021]