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.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.001691/0.001691, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001931/0.001931, allocations: 190.7 kB / 22.11 MB, free: 5.152 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.504/1.504, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 495.8 MB / 0.783 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 61.91 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00688/0.3275, allocations: 4.749 MB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1896/0.5171, allocations: 149.6 MB / 1.457 GB, free: 6.961 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.5185, allocations: 27.75 kB / 1.457 GB, free: 6.934 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.5197, allocations: 190.3 kB / 1.458 GB, free: 6.746 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.5224, allocations: 0.524 MB / 1.458 GB, free: 6.223 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5249, allocations: 0.8775 MB / 1.459 GB, free: 5.352 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.5272, allocations: 1.381 MB / 1.46 GB, free: 3.965 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.5281, allocations: 364.5 kB / 1.461 GB, free: 3.586 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.529, allocations: 0.4944 MB / 1.461 GB, free: 3.09 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.5297, allocations: 497.9 kB / 1.462 GB, free: 2.602 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.5299, allocations: 108 kB / 1.462 GB, free: 2.496 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.5315, allocations: 0.8076 MB / 1.463 GB, free: 1.688 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.5318, allocations: 287.1 kB / 1.463 GB, free: 1.406 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.5324, allocations: 0.5324 MB / 1.463 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.5351, allocations: 1.775 MB / 1.465 GB, free: 15.09 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5351, allocations: 0 / 1.465 GB, free: 15.09 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5351, allocations: 4 kB / 1.465 GB, free: 15.08 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.5351, allocations: 0 / 1.465 GB, free: 15.08 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.002871/0.538, allocations: 1.422 MB / 1.466 GB, free: 13.62 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.538, allocations: 8.031 kB / 1.466 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.5392, allocations: 212.1 kB / 1.467 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.5405, allocations: 0.6987 MB / 1.467 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.5406, allocations: 54 kB / 1.467 GB, free: 12.63 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.5407, allocations: 72 kB / 1.467 GB, free: 12.56 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.5424, allocations: 0.8958 MB / 1.468 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.5424, allocations: 0 / 1.468 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.5425, allocations: 36 kB / 1.468 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.5425, allocations: 20 kB / 1.468 GB, free: 11.56 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.5447, allocations: 1.128 MB / 1.469 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.5491, allocations: 2.524 MB / 1.472 GB, free: 7.824 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.5509, allocations: 0.7881 MB / 1.473 GB, free: 7.027 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.5516, allocations: 306.7 kB / 1.473 GB, free: 6.727 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/0.5517, allocations: 32.59 kB / 1.473 GB, free: 6.695 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.5528, allocations: 0.5303 MB / 1.474 GB, free: 6.145 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/0.5528, allocations: 0 / 1.474 GB, free: 6.145 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.004045/0.5568, allocations: 1.22 MB / 1.475 GB, free: 4.918 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.557, allocations: 192.6 kB / 1.475 GB, free: 4.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/0.5579, allocations: 0.6449 MB / 1.476 GB, free: 4.031 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/0.558, allocations: 37.7 kB / 1.476 GB, free: 3.988 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.5584, allocations: 385.1 kB / 1.476 GB, free: 3.605 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.5587, allocations: 281.6 kB / 1.476 GB, free: 3.328 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.5589, allocations: 170.6 kB / 1.476 GB, free: 3.152 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5591, allocations: 390.7 kB / 1.477 GB, free: 2.762 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007775/0.5599, allocations: 305.8 kB / 1.477 GB, free: 2.465 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/0.5608, allocations: 395.9 kB / 1.477 GB, free: 2.062 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.5624, allocations: 0.6666 MB / 1.478 GB, free: 1.383 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5624, allocations: 0 / 1.478 GB, free: 1.383 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002532/0.5649, allocations: 0.9272 MB / 1.479 GB, free: 456 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5649, allocations: 4 kB / 1.479 GB, free: 452 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5649, allocations: 4 kB / 1.479 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/0.5655, allocations: 92.81 kB / 1.479 GB, free: 352 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.5663, allocations: 171.8 kB / 1.479 GB, free: 180 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.5686, allocations: 1.548 MB / 1.481 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/0.5696, allocations: 96.56 kB / 1.481 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.5696, allocations: 43.95 kB / 1.481 GB, free: 14.37 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.0005528/0.5702, allocations: 272.5 kB / 1.481 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.5704, allocations: 91.42 kB / 1.481 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.5735, allocations: 1.202 MB / 1.482 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.5735, allocations: 11.94 kB / 1.482 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5735, allocations: 4 kB / 1.482 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.5735, allocations: 7.922 kB / 1.482 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.5747, allocations: 0.8793 MB / 1.483 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5747, allocations: 0 / 1.483 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.5755, allocations: 155.8 kB / 1.483 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.576, allocations: 76.78 kB / 1.484 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.576, allocations: 23.98 kB / 1.484 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.5781, allocations: 1.583 MB / 1.485 GB, free: 9.883 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5781, allocations: 0 / 1.485 GB, free: 9.883 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5807, allocations: 1.01 MB / 1.486 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.5813, allocations: 215.1 kB / 1.486 GB, free: 8.641 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.5815, allocations: 16 kB / 1.486 GB, free: 8.625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/0.5823, allocations: 77.89 kB / 1.486 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.5825, allocations: 76.84 kB / 1.486 GB, free: 8.477 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-05/0.5826, allocations: 39.97 kB / 1.486 GB, free: 8.438 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007784/0.5834, allocations: 463 kB / 1.487 GB, free: 7.992 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5834, allocations: 0 / 1.487 GB, free: 7.992 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001128/0.5845, allocations: 335.2 kB / 1.487 GB, free: 7.664 MB / 1.186 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.002202/0.5867, allocations: 0.6248 MB / 1.488 GB, free: 7.211 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.5891, allocations: 0.8702 MB / 1.489 GB, free: 6.328 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5891, allocations: 0 / 1.489 GB, free: 6.328 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.5904, allocations: 0.5277 MB / 1.489 GB, free: 5.789 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.5918, allocations: 299.1 kB / 1.49 GB, free: 5.516 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.5958, allocations: 1.676 MB / 1.491 GB, free: 3.809 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/0.5966, allocations: 1.016 MB / 1.492 GB, free: 2.766 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001058/0.5977, allocations: 282.8 kB / 1.492 GB, free: 2.484 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.598, allocations: 119.4 kB / 1.493 GB, free: 2.367 MB / 1.186 GB Notification: Performance of SimCode: time 1.934e-06/0.598, allocations: 0 / 1.493 GB, free: 2.367 MB / 1.186 GB Notification: Performance of Templates: time 0.03265/0.6307, allocations: 16.59 MB / 1.509 GB, free: 1.961 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.75743752438575]