Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.152/3.152, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.52 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007726/0.3792, allocations: 4.75 MB / 1.321 GB, free: 4.977 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.572, allocations: 151.2 MB / 1.468 GB, free: 13.2 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.5731, allocations: 23.81 kB / 1.468 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.5737, allocations: 186.3 kB / 1.468 GB, free: 13 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.5757, allocations: 0.5298 MB / 1.469 GB, free: 12.47 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.578, allocations: 0.8689 MB / 1.47 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.5798, allocations: 1.401 MB / 1.471 GB, free: 10.2 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000699/0.5805, allocations: 368.5 kB / 1.472 GB, free: 9.816 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.5812, allocations: 490.4 kB / 1.472 GB, free: 9.336 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.5819, allocations: 0.4939 MB / 1.473 GB, free: 8.84 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.5821, allocations: 108 kB / 1.473 GB, free: 8.734 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.5839, allocations: 0.8739 MB / 1.473 GB, free: 7.859 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.5842, allocations: 299 kB / 1.474 GB, free: 7.566 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.5848, allocations: 0.5247 MB / 1.474 GB, free: 7.039 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.5875, allocations: 1.794 MB / 1.476 GB, free: 5.238 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5875, allocations: 0 / 1.476 GB, free: 5.238 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5875, allocations: 4 kB / 1.476 GB, free: 5.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.5875, allocations: 0 / 1.476 GB, free: 5.234 MB / 1.17 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.002733/0.5902, allocations: 1.423 MB / 1.477 GB, free: 3.77 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5903, allocations: 8.031 kB / 1.477 GB, free: 3.762 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5914, allocations: 212 kB / 1.478 GB, free: 3.555 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.5927, allocations: 0.6987 MB / 1.478 GB, free: 2.828 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/0.5928, allocations: 58 kB / 1.478 GB, free: 2.773 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.5929, allocations: 75.98 kB / 1.478 GB, free: 2.699 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5946, allocations: 0.888 MB / 1.479 GB, free: 1.766 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5946, allocations: 0 / 1.479 GB, free: 1.766 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.5947, allocations: 36 kB / 1.479 GB, free: 1.73 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.5947, allocations: 20 kB / 1.479 GB, free: 1.711 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.5968, allocations: 1.132 MB / 1.48 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.6011, allocations: 2.535 MB / 1.483 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.6028, allocations: 0.7844 MB / 1.484 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.6035, allocations: 306.7 kB / 1.484 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-05/0.6036, allocations: 32.61 kB / 1.484 GB, free: 12.83 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.6047, allocations: 0.5341 MB / 1.485 GB, free: 12.27 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.514e-06/0.6047, allocations: 0 / 1.485 GB, free: 12.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003677/0.6084, allocations: 1.212 MB / 1.486 GB, free: 11.05 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.6085, allocations: 192.6 kB / 1.486 GB, free: 10.82 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.6094, allocations: 0.6411 MB / 1.487 GB, free: 10.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.6095, allocations: 45.7 kB / 1.487 GB, free: 10.12 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.6098, allocations: 385.1 kB / 1.487 GB, free: 9.742 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.6101, allocations: 273.7 kB / 1.487 GB, free: 9.473 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.6103, allocations: 170.6 kB / 1.487 GB, free: 9.301 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.6106, allocations: 398.7 kB / 1.488 GB, free: 8.902 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.6112, allocations: 297.8 kB / 1.488 GB, free: 8.609 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.612, allocations: 395.9 kB / 1.488 GB, free: 8.207 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.6135, allocations: 0.6666 MB / 1.489 GB, free: 7.527 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6135, allocations: 0 / 1.489 GB, free: 7.527 MB / 1.186 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002285/0.6158, allocations: 0.9311 MB / 1.49 GB, free: 6.59 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6158, allocations: 8 kB / 1.49 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6158, allocations: 0 / 1.49 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.6164, allocations: 84.84 kB / 1.49 GB, free: 6.496 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.6171, allocations: 179.7 kB / 1.49 GB, free: 6.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6194, allocations: 1.554 MB / 1.492 GB, free: 4.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.6202, allocations: 97.97 kB / 1.492 GB, free: 4.547 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.6203, allocations: 39.97 kB / 1.492 GB, free: 4.508 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0005422/0.6208, allocations: 272.1 kB / 1.492 GB, free: 4.23 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.621, allocations: 91.44 kB / 1.492 GB, free: 4.141 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.6239, allocations: 1.199 MB / 1.493 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6239, allocations: 8 kB / 1.493 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6239, allocations: 0 / 1.493 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.624, allocations: 7.922 kB / 1.493 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.6252, allocations: 0.8869 MB / 1.494 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6252, allocations: 0 / 1.494 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.6258, allocations: 155.8 kB / 1.494 GB, free: 1.828 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.6263, allocations: 84.78 kB / 1.495 GB, free: 1.742 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.6264, allocations: 27.97 kB / 1.495 GB, free: 1.715 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.6285, allocations: 1.571 MB / 1.496 GB, free: 24 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6285, allocations: 0 / 1.496 GB, free: 24 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.6309, allocations: 1.002 MB / 1.497 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.6313, allocations: 207.2 kB / 1.497 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6315, allocations: 23.98 kB / 1.497 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.6321, allocations: 71.92 kB / 1.497 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.6323, allocations: 80.78 kB / 1.497 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/0.6324, allocations: 39.97 kB / 1.497 GB, free: 14.59 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006536/0.633, allocations: 463 kB / 1.498 GB, free: 14.14 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.633, allocations: 3.938 kB / 1.498 GB, free: 14.14 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009521/0.634, allocations: 339.1 kB / 1.498 GB, free: 13.8 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.00196/0.6359, allocations: 0.6155 MB / 1.499 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002035/0.638, allocations: 0.8702 MB / 1.5 GB, free: 12.48 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.638, allocations: 0 / 1.5 GB, free: 12.48 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.639, allocations: 0.5277 MB / 1.5 GB, free: 11.94 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6401, allocations: 314.1 kB / 1.5 GB, free: 11.65 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.6433, allocations: 1.676 MB / 1.502 GB, free: 9.949 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.644, allocations: 1.018 MB / 1.503 GB, free: 8.906 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008507/0.6448, allocations: 290.7 kB / 1.503 GB, free: 8.617 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.6451, allocations: 115.4 kB / 1.503 GB, free: 8.504 MB / 1.201 GB Notification: Performance of SimCode: time 5.61e-07/0.6451, allocations: 0 / 1.503 GB, free: 8.504 MB / 1.201 GB Notification: Performance of Templates: time 0.03231/0.6774, allocations: 16.59 MB / 1.52 GB, free: 8.086 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.955398713238537]