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.001506/0.001506, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00178/0.00178, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.526/1.526, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 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 2.903/2.903, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.643e-06/1.643e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.073e-05, allocations: 4.953 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.006621/0.006652, allocations: 4.189 MB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8139/0.8205, allocations: 132.7 MB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009627/0.8215, allocations: 24.03 kB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.8221, allocations: 190.5 kB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.8238, allocations: 0.5366 MB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.8255, allocations: 0.8053 MB / 1.135 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.8269, allocations: 1.348 MB / 1.137 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.8275, allocations: 336.2 kB / 1.137 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.8283, allocations: 0.6441 MB / 1.138 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.8287, allocations: 363.7 kB / 1.138 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.8289, allocations: 115.2 kB / 1.138 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008622/0.8297, allocations: 445.7 kB / 1.138 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.83, allocations: 285.6 kB / 1.139 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.8303, allocations: 346.1 kB / 1.139 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.8322, allocations: 1.622 MB / 1.141 GB, free: 45.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8322, allocations: 1.031 kB / 1.141 GB, free: 45.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8322, allocations: 0 / 1.141 GB, free: 45.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.8322, allocations: 0 / 1.141 GB, free: 45.04 MB / 1.076 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.002158/0.8343, allocations: 1.325 MB / 1.142 GB, free: 44.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8344, allocations: 8.594 kB / 1.142 GB, free: 44.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8355, allocations: 191 kB / 1.142 GB, free: 44.3 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.8365, allocations: 0.6908 MB / 1.143 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.8366, allocations: 56.41 kB / 1.143 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.8367, allocations: 82.73 kB / 1.143 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.838, allocations: 1.077 MB / 1.144 GB, free: 43.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.838, allocations: 0 / 1.144 GB, free: 43.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.8381, allocations: 34.94 kB / 1.144 GB, free: 43.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.8381, allocations: 17.5 kB / 1.144 GB, free: 43.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.8396, allocations: 1.009 MB / 1.145 GB, free: 43.58 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.8428, allocations: 1.997 MB / 1.147 GB, free: 42.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.8441, allocations: 0.7826 MB / 1.148 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.8446, allocations: 299.1 kB / 1.148 GB, free: 42.85 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.538e-05/0.8447, allocations: 31.34 kB / 1.148 GB, free: 42.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008258/0.8455, allocations: 0.5742 MB / 1.149 GB, free: 42.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 2.826e-06/0.8455, allocations: 0 / 1.149 GB, free: 42.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.002046/0.8476, allocations: 1.014 MB / 1.15 GB, free: 42.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.8477, allocations: 227.3 kB / 1.15 GB, free: 42.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.8484, allocations: 0.5911 MB / 1.15 GB, free: 42.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.8485, allocations: 51.95 kB / 1.15 GB, free: 42.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.8487, allocations: 361.8 kB / 1.151 GB, free: 41.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.8489, allocations: 270 kB / 1.151 GB, free: 41.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.8491, allocations: 170.6 kB / 1.151 GB, free: 41.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8492, allocations: 386.5 kB / 1.152 GB, free: 41.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.8498, allocations: 288.3 kB / 1.152 GB, free: 41.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.8504, allocations: 0.4994 MB / 1.152 GB, free: 41.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.8515, allocations: 0.6257 MB / 1.153 GB, free: 41.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.8515, allocations: 0 / 1.153 GB, free: 41.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001515/0.8531, allocations: 0.8356 MB / 1.154 GB, free: 41.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8531, allocations: 5.812 kB / 1.154 GB, free: 41.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.8531, allocations: 0.75 kB / 1.154 GB, free: 41.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.8531, allocations: 3 kB / 1.154 GB, free: 41.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.8538, allocations: 173.1 kB / 1.154 GB, free: 41.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.8538, allocations: 3.719 kB / 1.154 GB, free: 41.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/0.8545, allocations: 93.02 kB / 1.154 GB, free: 41.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.8545, allocations: 35.84 kB / 1.154 GB, free: 41.12 MB / 1.076 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.0003849/0.8549, allocations: 269.7 kB / 1.154 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.8551, allocations: 92.11 kB / 1.154 GB, free: 40.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.8569, allocations: 0.9952 MB / 1.155 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.8569, allocations: 8.062 kB / 1.155 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8569, allocations: 2.781 kB / 1.155 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.8569, allocations: 4.25 kB / 1.155 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.8594, allocations: 1.722 MB / 1.157 GB, free: 40.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8594, allocations: 5.812 kB / 1.157 GB, free: 40.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.86, allocations: 143.8 kB / 1.157 GB, free: 40.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.86, allocations: 6.375 kB / 1.157 GB, free: 40.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.86, allocations: 28.42 kB / 1.157 GB, free: 40.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.86, allocations: 3.656 kB / 1.157 GB, free: 40.51 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.86, allocations: 1.062 kB / 1.157 GB, free: 40.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.8615, allocations: 0.9485 MB / 1.158 GB, free: 40.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.8619, allocations: 192.7 kB / 1.158 GB, free: 40.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.862, allocations: 21.47 kB / 1.158 GB, free: 40.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/0.8626, allocations: 70.92 kB / 1.158 GB, free: 40.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.8628, allocations: 71.47 kB / 1.158 GB, free: 40.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.8628, allocations: 35.84 kB / 1.159 GB, free: 40.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004597/0.8633, allocations: 431.3 kB / 1.159 GB, free: 40.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8633, allocations: 2.938 kB / 1.159 GB, free: 40.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000809/0.8641, allocations: 298.2 kB / 1.159 GB, free: 40.1 MB / 1.076 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.002007/0.8661, allocations: 0.6716 MB / 1.16 GB, free: 39.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.8675, allocations: 0.695 MB / 1.161 GB, free: 39.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8675, allocations: 3.688 kB / 1.161 GB, free: 39.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.8681, allocations: 359.7 kB / 1.161 GB, free: 39.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.8693, allocations: 286.2 kB / 1.161 GB, free: 39.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.8718, allocations: 1.542 MB / 1.163 GB, free: 39.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.8721, allocations: 408.5 kB / 1.163 GB, free: 39.15 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007305/0.8728, allocations: 254.3 kB / 1.163 GB, free: 39.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.8731, allocations: 107.1 kB / 1.163 GB, free: 39.1 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/0.8731, allocations: 0.9688 kB / 1.163 GB, free: 39.1 MB / 1.076 GB Notification: Performance of Templates: time 0.02807/0.9012, allocations: 14.19 MB / 1.177 GB, free: 37.51 MB / 1.076 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.71248808503151]