Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.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.001895/0.001895, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002073/0.002073, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.362/3.362, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.weaBus.winDir",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.weaBus.winDir",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.014e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.007366/0.007396, allocations: 4.394 MB / 0.8817 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2106/0.218, allocations: 146.2 MB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007742/0.2188, allocations: 23.81 kB / 1.025 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.2194, allocations: 194.2 kB / 1.025 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.2212, allocations: 0.5321 MB / 1.025 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.2232, allocations: 0.7985 MB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.2251, allocations: 1.354 MB / 1.027 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007139/0.2258, allocations: 335.5 kB / 1.028 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.2269, allocations: 0.6393 MB / 1.028 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.2275, allocations: 366.9 kB / 1.029 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.2277, allocations: 108 kB / 1.029 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2287, allocations: 455.4 kB / 1.029 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.2291, allocations: 291 kB / 1.029 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.2295, allocations: 343.1 kB / 1.03 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.2324, allocations: 1.628 MB / 1.031 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2324, allocations: 0 / 1.031 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2324, allocations: 4 kB / 1.031 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.2324, allocations: 0 / 1.031 GB, free: 8.484 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002901/0.2353, allocations: 1.475 MB / 1.033 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2354, allocations: 12.03 kB / 1.033 GB, free: 6.953 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.2366, allocations: 271.8 kB / 1.033 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.238, allocations: 0.7054 MB / 1.034 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.2383, allocations: 62.12 kB / 1.034 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2384, allocations: 76 kB / 1.034 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.2403, allocations: 1.101 MB / 1.035 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2403, allocations: 0 / 1.035 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.2404, allocations: 39.97 kB / 1.035 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.2404, allocations: 20 kB / 1.035 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.2423, allocations: 0.9494 MB / 1.036 GB, free: 3.594 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.2472, allocations: 2.718 MB / 1.039 GB, free: 0.793 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.2487, allocations: 0.7159 MB / 1.039 GB, free: 60 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.2493, allocations: 276.2 kB / 1.04 GB, free: 15.78 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.2494, allocations: 32.67 kB / 1.04 GB, free: 15.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.2504, allocations: 0.5724 MB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of pre-optimization done (n=83): time 2.895e-06/0.2504, allocations: 0 / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=83): time 0.002361/0.2528, allocations: 0.9153 MB / 1.041 GB, free: 14.22 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.253, allocations: 230.2 kB / 1.041 GB, free: 13.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2541, allocations: 0.7417 MB / 1.042 GB, free: 13.19 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.655e-05/0.2541, allocations: 49.7 kB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.2546, allocations: 440 kB / 1.042 GB, free: 12.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.2549, allocations: 305.6 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.2553, allocations: 208.2 kB / 1.043 GB, free: 12.18 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004222/0.2557, allocations: 0.6133 MB / 1.044 GB, free: 11.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2562, allocations: 229.9 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.2571, allocations: 0.4904 MB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.2582, allocations: 0.5449 MB / 1.045 GB, free: 10.24 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2583, allocations: 7.938 kB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001707/0.26, allocations: 0.7665 MB / 1.046 GB, free: 9.457 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.26, allocations: 4 kB / 1.046 GB, free: 9.453 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.26, allocations: 4.062 kB / 1.046 GB, free: 9.449 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.26, allocations: 4 kB / 1.046 GB, free: 9.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/0.2608, allocations: 171.8 kB / 1.046 GB, free: 9.277 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2608, allocations: 4 kB / 1.046 GB, free: 9.273 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.2614, allocations: 75.59 kB / 1.046 GB, free: 9.199 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.2615, allocations: 35.98 kB / 1.046 GB, free: 9.164 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.k,$PRE.weaDatInpCon.decAng.k,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.k,$PRE.weaDatInpCon.eqnTim.k,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.k,$PRE.weaDatInpCon.conTim.k,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.k,$PRE.weaDatInpCon.conTimMin.k,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.k,$PRE.weaDatInpCon.locTim.k,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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004564/0.2619, allocations: 284.3 kB / 1.046 GB, free: 8.879 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.2622, allocations: 111.5 kB / 1.046 GB, free: 8.77 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.2642, allocations: 0.9044 MB / 1.047 GB, free: 7.855 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.2643, allocations: 8 kB / 1.047 GB, free: 7.848 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2643, allocations: 4 kB / 1.047 GB, free: 7.844 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.2643, allocations: 3.984 kB / 1.047 GB, free: 7.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/0.2679, allocations: 1.825 MB / 1.049 GB, free: 5.957 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2679, allocations: 4 kB / 1.049 GB, free: 5.953 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.2685, allocations: 147.8 kB / 1.049 GB, free: 5.809 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.2685, allocations: 7.984 kB / 1.049 GB, free: 5.801 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.2686, allocations: 23.97 kB / 1.049 GB, free: 5.777 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.2686, allocations: 4 kB / 1.049 GB, free: 5.773 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2686, allocations: 4 kB / 1.049 GB, free: 5.77 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.2703, allocations: 0.9743 MB / 1.05 GB, free: 4.773 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.2708, allocations: 195.1 kB / 1.05 GB, free: 4.582 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.2709, allocations: 23.98 kB / 1.05 GB, free: 4.559 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.2714, allocations: 49.52 kB / 1.05 GB, free: 4.512 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2716, allocations: 76.86 kB / 1.05 GB, free: 4.434 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.2716, allocations: 31.98 kB / 1.05 GB, free: 4.402 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006629/0.2723, allocations: 486.9 kB / 1.051 GB, free: 3.934 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2723, allocations: 0 / 1.051 GB, free: 3.934 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008796/0.2732, allocations: 303.2 kB / 1.051 GB, free: 3.637 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.k,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.k,weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.k,weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.k,weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.k) * Number of discrete states: 10 (weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.locTim.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.decAng.k,weaDatInpCon.eqnTim.k,weaDatInpCon.conTim.k,weaDatInpCon.conTimMin.k,weaDatInpCon.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003438/0.2766, allocations: 0.6598 MB / 1.052 GB, free: 3.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.2782, allocations: 0.6584 MB / 1.052 GB, free: 2.52 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2782, allocations: 0 / 1.052 GB, free: 2.52 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007375/0.2789, allocations: 383.2 kB / 1.053 GB, free: 2.145 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.2803, allocations: 309 kB / 1.053 GB, free: 1.859 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.2832, allocations: 1.514 MB / 1.055 GB, free: 304 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3326/0.6159, allocations: 389 kB / 1.055 GB, free: 219 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008163/0.6167, allocations: 243.7 kB / 1.055 GB, free: 219 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.617, allocations: 106.7 kB / 1.055 GB, free: 219 MB / 1.01 GB Notification: Performance of SimCode: time 1.633e-06/0.617, allocations: 0 / 1.055 GB, free: 219 MB / 1.01 GB Notification: Performance of Templates: time 0.02055/0.6375, allocations: 14.25 MB / 1.069 GB, free: 217.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3WindDirection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.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.659734762040898]