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.00192/0.00192, allocations: 108.5 kB / 16.46 MB, free: 6.453 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.002312/0.002312, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.449/1.449, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.116/3.116, allocations: 0.49 GB / 0.7916 GB, free: 33.28 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.002031/0.002031, allocations: 72.86 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007089/0.318, allocations: 4.754 MB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1887/0.5067, allocations: 154 MB / 1.476 GB, free: 3.977 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000871/0.5075, allocations: 23.81 kB / 1.476 GB, free: 3.953 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00078/0.5083, allocations: 190.2 kB / 1.476 GB, free: 3.766 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.5104, allocations: 0.5463 MB / 1.477 GB, free: 3.219 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.5129, allocations: 0.8828 MB / 1.477 GB, free: 2.344 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.515, allocations: 1.409 MB / 1.479 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009103/0.5159, allocations: 380 kB / 1.479 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009842/0.5169, allocations: 498.4 kB / 1.48 GB, free: 48 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.5178, allocations: 0.5072 MB / 1.48 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003681/0.5182, allocations: 112 kB / 1.48 GB, free: 15.43 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.5203, allocations: 0.9167 MB / 1.481 GB, free: 14.51 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.5208, allocations: 291 kB / 1.481 GB, free: 14.23 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009303/0.5217, allocations: 0.544 MB / 1.482 GB, free: 13.68 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.5252, allocations: 1.86 MB / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5252, allocations: 0 / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5252, allocations: 0 / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.635e-05/0.5253, allocations: 7.938 kB / 1.484 GB, free: 11.8 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.003941/0.5292, allocations: 1.521 MB / 1.485 GB, free: 10.23 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5293, allocations: 15.98 kB / 1.485 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.5295, allocations: 122.8 kB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.5316, allocations: 272 kB / 1.486 GB, free: 9.82 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.5331, allocations: 0.7901 MB / 1.486 GB, free: 8.988 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.5332, allocations: 62 kB / 1.486 GB, free: 8.93 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.5333, allocations: 72 kB / 1.487 GB, free: 8.859 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.5354, allocations: 0.8958 MB / 1.487 GB, free: 7.918 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.5355, allocations: 4 kB / 1.487 GB, free: 7.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.5356, allocations: 32 kB / 1.487 GB, free: 7.883 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.5356, allocations: 20 kB / 1.487 GB, free: 7.863 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.5381, allocations: 1.128 MB / 1.489 GB, free: 6.734 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/0.5439, allocations: 2.59 MB / 1.491 GB, free: 4.043 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.5458, allocations: 0.7767 MB / 1.492 GB, free: 3.258 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008212/0.5466, allocations: 306.7 kB / 1.492 GB, free: 2.949 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.56e-05/0.5467, allocations: 48.47 kB / 1.492 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.5479, allocations: 0.5225 MB / 1.493 GB, free: 2.363 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.5479, allocations: 0 / 1.493 GB, free: 2.363 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.004211/0.5521, allocations: 1.296 MB / 1.494 GB, free: 1.039 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.5523, allocations: 192.6 kB / 1.494 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5534, allocations: 0.6685 MB / 1.495 GB, free: 140 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.5535, allocations: 49.69 kB / 1.495 GB, free: 84 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.5539, allocations: 385.1 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.5542, allocations: 277.7 kB / 1.495 GB, free: 15.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.5545, allocations: 158.6 kB / 1.496 GB, free: 15.27 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.5547, allocations: 394.7 kB / 1.496 GB, free: 14.87 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/0.5555, allocations: 277.8 kB / 1.496 GB, free: 14.6 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/0.5564, allocations: 391.4 kB / 1.497 GB, free: 14.19 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.558, allocations: 0.6471 MB / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.558, allocations: 0 / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002628/0.5606, allocations: 0.8765 MB / 1.498 GB, free: 12.64 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.5606, allocations: 11.98 kB / 1.498 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5606, allocations: 0 / 1.498 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/0.5613, allocations: 88.73 kB / 1.498 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.5621, allocations: 171.8 kB / 1.498 GB, free: 12.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.5646, allocations: 1.66 MB / 1.5 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.5657, allocations: 87.56 kB / 1.5 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.5658, allocations: 35.98 kB / 1.5 GB, free: 10.45 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.000588/0.5664, allocations: 275.3 kB / 1.5 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.5667, allocations: 91.58 kB / 1.5 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.57, allocations: 1.203 MB / 1.502 GB, free: 8.852 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.57, allocations: 11.94 kB / 1.502 GB, free: 8.84 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.57, allocations: 0 / 1.502 GB, free: 8.84 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.57, allocations: 15.91 kB / 1.502 GB, free: 8.824 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.5715, allocations: 0.9232 MB / 1.503 GB, free: 7.852 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5715, allocations: 0 / 1.503 GB, free: 7.852 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.5722, allocations: 163.7 kB / 1.503 GB, free: 7.691 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.5727, allocations: 72.78 kB / 1.503 GB, free: 7.617 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.5728, allocations: 23.98 kB / 1.503 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.5751, allocations: 1.674 MB / 1.504 GB, free: 5.773 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5751, allocations: 4.062 kB / 1.504 GB, free: 5.77 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.5779, allocations: 1.018 MB / 1.505 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.5784, allocations: 284.2 kB / 1.506 GB, free: 4.438 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.5786, allocations: 20 kB / 1.506 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/0.5794, allocations: 71.91 kB / 1.506 GB, free: 4.348 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.5796, allocations: 76.89 kB / 1.506 GB, free: 4.273 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.5797, allocations: 35.98 kB / 1.506 GB, free: 4.238 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007849/0.5805, allocations: 491 kB / 1.506 GB, free: 3.766 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5805, allocations: 0 / 1.506 GB, free: 3.766 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001021/0.5815, allocations: 339 kB / 1.507 GB, free: 3.434 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.005099/0.5866, allocations: 2.093 MB / 1.509 GB, free: 1.484 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.589, allocations: 0.8351 MB / 1.51 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.589, allocations: 0 / 1.51 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5902, allocations: 0.5277 MB / 1.51 GB, free: 100 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.5917, allocations: 311.7 kB / 1.51 GB, free: 15.81 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.6055, allocations: 6.499 MB / 1.517 GB, free: 9.156 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008421/0.6064, allocations: 1.02 MB / 1.518 GB, free: 8.105 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001028/0.6074, allocations: 283 kB / 1.518 GB, free: 7.824 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/0.6081, allocations: 391.3 kB / 1.518 GB, free: 7.441 MB / 1.217 GB Notification: Performance of SimCode: time 1.423e-06/0.6081, allocations: 0 / 1.518 GB, free: 7.441 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/0.6933, allocations: 22.94 MB / 1.541 GB, free: 0.8008 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.15, allocations: 12 kB / 1.541 GB, free: 0.7891 MB / 1.232 GB " [Timeout remaining time 286] (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: 20.811429925030097]