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.001857/0.001857, allocations: 88.72 kB / 19.44 MB, free: 356 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.002391/0.002391, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.243/3.243, allocations: 429.6 MB / 0.673 GB, free: 3.891 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 2.074e-06/2.074e-06, allocations: 0 / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.62e-05, allocations: 7.078 kB / 0.8775 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.01192/0.01196, allocations: 4.196 MB / 0.8816 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2258/0.2377, allocations: 132.7 MB / 1.011 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000814/0.2385, allocations: 23.81 kB / 1.011 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.2393, allocations: 194.2 kB / 1.011 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.2414, allocations: 0.5282 MB / 1.012 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.2436, allocations: 0.783 MB / 1.013 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.2456, allocations: 1.358 MB / 1.014 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007839/0.2463, allocations: 339.5 kB / 1.014 GB, free: 9.902 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.2476, allocations: 0.6431 MB / 1.015 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007008/0.2483, allocations: 367 kB / 1.015 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.2485, allocations: 108 kB / 1.015 GB, free: 8.793 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.2495, allocations: 451.4 kB / 1.016 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.2499, allocations: 283 kB / 1.016 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.2504, allocations: 343.1 kB / 1.016 GB, free: 7.738 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.2535, allocations: 1.631 MB / 1.018 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2535, allocations: 0 / 1.018 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2535, allocations: 4 kB / 1.018 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.274e-05/0.2536, allocations: 0 / 1.018 GB, free: 6.098 MB / 0.9792 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.003474/0.257, allocations: 1.317 MB / 1.019 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2571, allocations: 12.02 kB / 1.019 GB, free: 4.73 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.2585, allocations: 267.8 kB / 1.02 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.2601, allocations: 0.7065 MB / 1.02 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.2602, allocations: 66.11 kB / 1.02 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.2604, allocations: 80 kB / 1.02 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.2625, allocations: 1.082 MB / 1.022 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2625, allocations: 0 / 1.022 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.2626, allocations: 28 kB / 1.022 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.2626, allocations: 20 kB / 1.022 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.2647, allocations: 1.012 MB / 1.023 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.2693, allocations: 2.007 MB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.2713, allocations: 0.7952 MB / 1.025 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.2721, allocations: 295.6 kB / 1.026 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.471e-05/0.2721, allocations: 28.58 kB / 1.026 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.2734, allocations: 0.5756 MB / 1.026 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=83): time 3.497e-06/0.2734, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=83): time 0.002923/0.2763, allocations: 1.038 MB / 1.027 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/0.2765, allocations: 230.2 kB / 1.027 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.2779, allocations: 0.6017 MB / 1.028 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.278, allocations: 49.7 kB / 1.028 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.2785, allocations: 357.3 kB / 1.028 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.2788, allocations: 269.7 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/0.2791, allocations: 174.6 kB / 1.029 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002547/0.2794, allocations: 382.8 kB / 1.029 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.2801, allocations: 285.8 kB / 1.029 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009189/0.281, allocations: 0.4988 MB / 1.03 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.2824, allocations: 0.6186 MB / 1.031 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.2824, allocations: 7.938 kB / 1.031 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002008/0.2844, allocations: 0.8641 MB / 1.031 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2845, allocations: 7.984 kB / 1.031 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2845, allocations: 0 / 1.031 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.2845, allocations: 4 kB / 1.031 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.2853, allocations: 167.8 kB / 1.032 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.2853, allocations: 12.05 kB / 1.032 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.286, allocations: 91.5 kB / 1.032 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.2861, allocations: 35.98 kB / 1.032 GB, free: 7.754 MB / 0.9948 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.0004831/0.2866, allocations: 281.5 kB / 1.032 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.2869, allocations: 103.5 kB / 1.032 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.2893, allocations: 1.002 MB / 1.033 GB, free: 6.363 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.2893, allocations: 12 kB / 1.033 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2893, allocations: 0 / 1.033 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.2893, allocations: 3.984 kB / 1.033 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/0.2929, allocations: 1.734 MB / 1.035 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2929, allocations: 0 / 1.035 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.2935, allocations: 143.8 kB / 1.035 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.2936, allocations: 4 kB / 1.035 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.2936, allocations: 23.98 kB / 1.035 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.2936, allocations: 7.984 kB / 1.035 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2936, allocations: 0 / 1.035 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.2956, allocations: 0.9828 MB / 1.036 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.2961, allocations: 199.1 kB / 1.036 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.2962, allocations: 27.95 kB / 1.036 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/0.297, allocations: 67.27 kB / 1.036 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.2971, allocations: 76.86 kB / 1.036 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/0.2972, allocations: 31.98 kB / 1.036 GB, free: 2.988 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006828/0.2979, allocations: 435 kB / 1.037 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2979, allocations: 0 / 1.037 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009309/0.2988, allocations: 303.2 kB / 1.037 GB, free: 2.273 MB / 0.9948 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.002572/0.3014, allocations: 0.6397 MB / 1.038 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.3031, allocations: 0.6919 MB / 1.038 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3031, allocations: 0 / 1.038 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.3039, allocations: 369.5 kB / 1.039 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.3053, allocations: 317.3 kB / 1.039 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.3086, allocations: 1.571 MB / 1.04 GB, free: 14.88 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.3091, allocations: 406.5 kB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008335/0.3099, allocations: 258.5 kB / 1.041 GB, free: 14.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.3102, allocations: 112.4 kB / 1.041 GB, free: 14.09 MB / 1.01 GB Notification: Performance of SimCode: time 7.82e-07/0.3102, allocations: 0 / 1.041 GB, free: 14.09 MB / 1.01 GB Notification: Performance of Templates: time 0.02894/0.3392, allocations: 14.24 MB / 1.055 GB, free: 104 kB / 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe 2>&1) [Timeout 800] 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.5194713199744]