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.001775/0.001775, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001599/0.001599, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.789 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.746/2.746, allocations: 476 MB / 0.7699 GB, free: 4.953 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.002095/0.002095, allocations: 67.59 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 169.9 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003725/0.3304, allocations: 1.887 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.3332, allocations: 1.781 MB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.3333, allocations: 3.938 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.3335, allocations: 27.8 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.3339, allocations: 120 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.3344, allocations: 180 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.3349, allocations: 297.3 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.335, allocations: 17.3 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.3352, allocations: 103.8 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3354, allocations: 93.94 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.3355, allocations: 24 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.3358, allocations: 135.9 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.3359, allocations: 87.75 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.3361, allocations: 103.4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.3367, allocations: 383.8 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3367, allocations: 0 / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3367, allocations: 0 / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3367, allocations: 0 / 1.288 GB, free: 7.27 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.00117/0.3379, allocations: 0.5169 MB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3379, allocations: 12.03 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.717e-05/0.338, allocations: 58.73 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.3382, allocations: 32.75 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.3386, allocations: 221.1 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.3386, allocations: 12.38 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3387, allocations: 19.94 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.3393, allocations: 369.4 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3393, allocations: 3.984 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.3394, allocations: 11.94 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3394, allocations: 4 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.3403, allocations: 0.7021 MB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.3415, allocations: 0.5777 MB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.3421, allocations: 286.6 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.3422, allocations: 101.4 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.3423, allocations: 16.27 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.3427, allocations: 226.8 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.825e-06/0.3427, allocations: 0 / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0008104/0.3435, allocations: 383.5 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.3437, allocations: 136.5 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.3441, allocations: 325.1 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.3442, allocations: 33.7 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3443, allocations: 132.7 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.3445, allocations: 130.9 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3446, allocations: 65.69 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.3448, allocations: 338.8 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.345, allocations: 83.81 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.3452, allocations: 205.5 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.3456, allocations: 208.7 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3456, allocations: 0 / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005666/0.3462, allocations: 301.6 kB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3462, allocations: 11.94 kB / 1.293 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3462, allocations: 3.984 kB / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3462, allocations: 0 / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3464, allocations: 63.91 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.3464, allocations: 0 / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3466, allocations: 23.88 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.3466, allocations: 12 kB / 1.293 GB, free: 1.414 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.0001806/0.3468, allocations: 162.3 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.3469, allocations: 35.75 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.3476, allocations: 388.7 kB / 1.294 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3476, allocations: 0 / 1.294 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3476, allocations: 8 kB / 1.294 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3476, allocations: 0 / 1.294 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.348, allocations: 284.4 kB / 1.294 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.348, allocations: 0 / 1.294 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.3482, allocations: 63.91 kB / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3482, allocations: 3.938 kB / 1.294 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3482, allocations: 11.98 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3482, allocations: 4 kB / 1.294 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3482, allocations: 3.938 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.3488, allocations: 334.4 kB / 1.294 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3489, allocations: 63.73 kB / 1.294 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.3489, allocations: 16.03 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3491, allocations: 31.97 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3492, allocations: 19.95 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.3492, allocations: 16 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002616/0.3495, allocations: 248.4 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3495, allocations: 0 / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003462/0.3498, allocations: 83.83 kB / 1.295 GB, free: 15.59 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.00249/0.3523, allocations: 1.249 MB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3528, allocations: 216.3 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3528, allocations: 4 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.353, allocations: 124.3 kB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.3533, allocations: 36.42 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.3566, allocations: 2.573 MB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.3567, allocations: 155.4 kB / 1.299 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.3571, allocations: 150.9 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.3573, allocations: 103.4 kB / 1.299 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.3573, allocations: 4 kB / 1.299 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/0.4105, allocations: 7.211 MB / 1.306 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.26, allocations: 1.875 kB / 1.306 GB, free: 3.938 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.11818365799263]