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.001929/0.001929, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002179/0.002179, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.973 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.113/3.113, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.001941/0.001941, allocations: 69.38 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3357, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00768/0.3434, allocations: 4.807 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1952/0.5386, allocations: 154.1 MB / 1.481 GB, free: 2.395 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.5399, allocations: 23.81 kB / 1.481 GB, free: 2.371 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.541, allocations: 198.2 kB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.5442, allocations: 0.547 MB / 1.482 GB, free: 1.629 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.5473, allocations: 0.9037 MB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.5498, allocations: 1.42 MB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.5509, allocations: 368.5 kB / 1.484 GB, free: 14.92 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.5521, allocations: 0.5022 MB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.5531, allocations: 0.4978 MB / 1.485 GB, free: 13.92 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003452/0.5535, allocations: 116 kB / 1.486 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.5557, allocations: 0.913 MB / 1.486 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.5561, allocations: 303 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008395/0.5569, allocations: 0.5363 MB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.5601, allocations: 1.856 MB / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5601, allocations: 0 / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5601, allocations: 0 / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.5601, allocations: 0 / 1.489 GB, free: 10.19 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.002883/0.563, allocations: 1.462 MB / 1.49 GB, free: 8.691 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.563, allocations: 8.031 kB / 1.49 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.5632, allocations: 122.8 kB / 1.491 GB, free: 8.555 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.5649, allocations: 272 kB / 1.491 GB, free: 8.289 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.5662, allocations: 0.7218 MB / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.5662, allocations: 61.98 kB / 1.492 GB, free: 7.48 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.5663, allocations: 72 kB / 1.492 GB, free: 7.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.568, allocations: 0.8919 MB / 1.493 GB, free: 6.473 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.568, allocations: 4 kB / 1.493 GB, free: 6.469 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/0.5681, allocations: 35.98 kB / 1.493 GB, free: 6.434 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.5681, allocations: 16 kB / 1.493 GB, free: 6.418 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.5701, allocations: 1.128 MB / 1.494 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.5743, allocations: 2.541 MB / 1.496 GB, free: 2.66 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.5759, allocations: 0.7887 MB / 1.497 GB, free: 1.859 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.5766, allocations: 302.7 kB / 1.497 GB, free: 1.562 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/0.5767, allocations: 32.53 kB / 1.497 GB, free: 1.531 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.5778, allocations: 0.5342 MB / 1.498 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.5778, allocations: 0 / 1.498 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003568/0.5813, allocations: 1.22 MB / 1.499 GB, free: 15.75 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.5815, allocations: 192.6 kB / 1.499 GB, free: 15.52 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.5823, allocations: 0.6647 MB / 1.5 GB, free: 14.85 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/0.5824, allocations: 49.69 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.5828, allocations: 389.1 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.583, allocations: 281.6 kB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.5833, allocations: 158.6 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5835, allocations: 386.7 kB / 1.501 GB, free: 13.58 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.5841, allocations: 285.8 kB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.5849, allocations: 391.4 kB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.5863, allocations: 0.6509 MB / 1.502 GB, free: 12.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5863, allocations: 0 / 1.502 GB, free: 12.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002273/0.5886, allocations: 0.8804 MB / 1.503 GB, free: 11.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5886, allocations: 8 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5886, allocations: 3.984 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.5892, allocations: 80.91 kB / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.59, allocations: 171.8 kB / 1.503 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.5922, allocations: 1.54 MB / 1.505 GB, free: 9.414 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.5929, allocations: 99.55 kB / 1.505 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.593, allocations: 35.98 kB / 1.505 GB, free: 9.281 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.0004477/0.5934, allocations: 267.3 kB / 1.505 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.5936, allocations: 95.39 kB / 1.505 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.5965, allocations: 1.199 MB / 1.507 GB, free: 7.707 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.5965, allocations: 12 kB / 1.507 GB, free: 7.695 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5965, allocations: 0 / 1.507 GB, free: 7.695 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5965, allocations: 7.922 kB / 1.507 GB, free: 7.688 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.5976, allocations: 0.9027 MB / 1.507 GB, free: 6.738 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5976, allocations: 3.984 kB / 1.507 GB, free: 6.734 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.5983, allocations: 163.8 kB / 1.508 GB, free: 6.574 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/0.5988, allocations: 68.78 kB / 1.508 GB, free: 6.504 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.5988, allocations: 27.98 kB / 1.508 GB, free: 6.477 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.6009, allocations: 1.57 MB / 1.509 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6009, allocations: 0 / 1.509 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.6035, allocations: 1.014 MB / 1.51 GB, free: 3.75 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.604, allocations: 215.1 kB / 1.51 GB, free: 3.539 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.6042, allocations: 19.94 kB / 1.51 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.6048, allocations: 81.78 kB / 1.511 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.605, allocations: 76.8 kB / 1.511 GB, free: 3.367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/0.6051, allocations: 39.97 kB / 1.511 GB, free: 3.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007691/0.6058, allocations: 491 kB / 1.511 GB, free: 2.855 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6058, allocations: 0 / 1.511 GB, free: 2.855 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001199/0.607, allocations: 327.2 kB / 1.511 GB, free: 2.535 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.004695/0.6117, allocations: 2.105 MB / 1.514 GB, free: 0.582 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.6138, allocations: 0.8392 MB / 1.514 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6138, allocations: 4 kB / 1.514 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.6149, allocations: 0.5236 MB / 1.515 GB, free: 15.19 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.6161, allocations: 309.8 kB / 1.515 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6281, allocations: 6.487 MB / 1.521 GB, free: 8.262 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/0.6288, allocations: 1.024 MB / 1.522 GB, free: 7.207 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009215/0.6297, allocations: 282.9 kB / 1.523 GB, free: 6.926 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.6303, allocations: 391.3 kB / 1.523 GB, free: 6.543 MB / 1.217 GB Notification: Performance of SimCode: time 1.062e-06/0.6303, allocations: 0 / 1.523 GB, free: 6.543 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08973/0.72, allocations: 23.54 MB / 1.546 GB, free: 15.26 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.23, allocations: 7.938 kB / 1.546 GB, free: 15.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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.919152676826343]