Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.00164/0.00164, allocations: 113 kB / 18.94 MB, free: 2.934 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.002157/0.002157, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 8.004 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.104/3.104, allocations: 0.49 GB / 0.7951 GB, free: 33.22 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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001999/0.001999, allocations: 72.23 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006676/0.3491, allocations: 4.802 MB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5341, allocations: 154.1 MB / 1.481 GB, free: 2.41 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.535, allocations: 23.81 kB / 1.481 GB, free: 2.387 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.5357, allocations: 202.2 kB / 1.481 GB, free: 2.188 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.5375, allocations: 0.5398 MB / 1.482 GB, free: 1.648 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.5396, allocations: 0.9012 MB / 1.483 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.5413, allocations: 1.413 MB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007077/0.542, allocations: 376.5 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.5427, allocations: 0.4945 MB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.5433, allocations: 0.4978 MB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.5435, allocations: 112 kB / 1.486 GB, free: 13.84 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.5451, allocations: 0.9207 MB / 1.486 GB, free: 12.92 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.5454, allocations: 295 kB / 1.487 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.5459, allocations: 0.5441 MB / 1.487 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.5484, allocations: 1.856 MB / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5484, allocations: 0 / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5484, allocations: 0 / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.5485, allocations: 0 / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002868/0.5513, allocations: 1.458 MB / 1.49 GB, free: 8.723 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5514, allocations: 12.03 kB / 1.49 GB, free: 8.711 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.5515, allocations: 122.8 kB / 1.491 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.5533, allocations: 276 kB / 1.491 GB, free: 8.312 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.5547, allocations: 0.718 MB / 1.492 GB, free: 7.566 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.5547, allocations: 61.94 kB / 1.492 GB, free: 7.508 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5548, allocations: 75.98 kB / 1.492 GB, free: 7.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.5566, allocations: 0.888 MB / 1.493 GB, free: 6.5 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.5566, allocations: 7.938 kB / 1.493 GB, free: 6.492 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.5567, allocations: 36 kB / 1.493 GB, free: 6.457 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.5567, allocations: 16 kB / 1.493 GB, free: 6.441 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.5587, allocations: 1.124 MB / 1.494 GB, free: 5.316 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.5631, allocations: 2.543 MB / 1.496 GB, free: 2.684 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.5648, allocations: 0.7849 MB / 1.497 GB, free: 1.887 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.5655, allocations: 314.5 kB / 1.497 GB, free: 1.578 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.45e-05/0.5656, allocations: 28.56 kB / 1.497 GB, free: 1.551 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.5667, allocations: 0.5342 MB / 1.498 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.425e-06/0.5667, allocations: 0 / 1.498 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003701/0.5704, allocations: 1.216 MB / 1.499 GB, free: 15.77 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5705, allocations: 196.5 kB / 1.499 GB, free: 15.54 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009421/0.5714, allocations: 0.6647 MB / 1.5 GB, free: 14.87 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/0.5715, allocations: 49.7 kB / 1.5 GB, free: 14.81 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.5719, allocations: 389.1 kB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.5721, allocations: 285.6 kB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.5724, allocations: 154.6 kB / 1.501 GB, free: 13.99 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.5726, allocations: 394.7 kB / 1.501 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/0.5733, allocations: 277.8 kB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007787/0.574, allocations: 387.4 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.5755, allocations: 0.651 MB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5755, allocations: 0 / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002302/0.5778, allocations: 0.8764 MB / 1.503 GB, free: 11.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5778, allocations: 8 kB / 1.503 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5778, allocations: 0 / 1.503 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.5784, allocations: 84.89 kB / 1.503 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.5792, allocations: 171.7 kB / 1.503 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.5815, allocations: 1.55 MB / 1.505 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.5822, allocations: 95.56 kB / 1.505 GB, free: 9.332 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.5823, allocations: 39.97 kB / 1.505 GB, free: 9.293 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004537/0.5828, allocations: 259.4 kB / 1.505 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.583, allocations: 91.39 kB / 1.505 GB, free: 8.938 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.5858, allocations: 1.207 MB / 1.507 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.5858, allocations: 12 kB / 1.507 GB, free: 7.707 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5858, allocations: 0 / 1.507 GB, free: 7.707 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5858, allocations: 11.86 kB / 1.507 GB, free: 7.695 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.5869, allocations: 0.8988 MB / 1.507 GB, free: 6.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.587, allocations: 0 / 1.507 GB, free: 6.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.5876, allocations: 163.7 kB / 1.508 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.5881, allocations: 72.78 kB / 1.508 GB, free: 6.516 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.5881, allocations: 27.97 kB / 1.508 GB, free: 6.488 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.5901, allocations: 1.582 MB / 1.509 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5901, allocations: 0 / 1.509 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.5924, allocations: 1.01 MB / 1.51 GB, free: 3.754 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.5929, allocations: 219.1 kB / 1.51 GB, free: 3.539 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.593, allocations: 19.94 kB / 1.51 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.5936, allocations: 73.48 kB / 1.511 GB, free: 3.449 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.5938, allocations: 76.84 kB / 1.511 GB, free: 3.375 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.5939, allocations: 39.97 kB / 1.511 GB, free: 3.336 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006621/0.5946, allocations: 495 kB / 1.511 GB, free: 2.859 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5946, allocations: 0 / 1.511 GB, free: 2.859 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009052/0.5955, allocations: 327.2 kB / 1.511 GB, free: 2.539 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004523/0.6, allocations: 2.093 MB / 1.513 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.602, allocations: 0.8315 MB / 1.514 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.602, allocations: 4 kB / 1.514 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.6031, allocations: 0.5236 MB / 1.515 GB, free: 15.21 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6043, allocations: 311.8 kB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.6162, allocations: 6.495 MB / 1.521 GB, free: 8.277 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.6169, allocations: 1.024 MB / 1.522 GB, free: 7.223 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009741/0.6179, allocations: 279.1 kB / 1.523 GB, free: 6.945 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/0.6185, allocations: 391.2 kB / 1.523 GB, free: 6.562 MB / 1.217 GB Notification: Performance of SimCode: time 1.021e-06/0.6185, allocations: 0 / 1.523 GB, free: 6.562 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06329/0.6818, allocations: 23.54 MB / 1.546 GB, free: 15.28 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.31, allocations: 7.938 kB / 1.546 GB, free: 15.27 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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: 21.16652512699875]