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.0008269/0.0008269, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008163/0.0008163, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8559/0.8559, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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.232e-06/1.232e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.094e-05, allocations: 4.953 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.0039/0.003921, allocations: 4.184 MB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6561/0.66, allocations: 132.7 MB / 1.135 GB, free: 15.15 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.6608, allocations: 19.44 kB / 1.135 GB, free: 15.14 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.6614, allocations: 189.4 kB / 1.135 GB, free: 15.01 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.6627, allocations: 0.5393 MB / 1.135 GB, free: 14.71 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.6641, allocations: 0.8021 MB / 1.136 GB, free: 14.29 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.6653, allocations: 1.35 MB / 1.137 GB, free: 13.57 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.6659, allocations: 340 kB / 1.138 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.6666, allocations: 0.64 MB / 1.138 GB, free: 13.07 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.667, allocations: 366 kB / 1.139 GB, free: 12.93 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.6671, allocations: 113.9 kB / 1.139 GB, free: 12.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.6681, allocations: 452.6 kB / 1.139 GB, free: 12.82 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.6683, allocations: 285.9 kB / 1.139 GB, free: 12.64 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.6686, allocations: 342 kB / 1.14 GB, free: 12.46 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.6702, allocations: 1.626 MB / 1.141 GB, free: 11.79 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6702, allocations: 1.031 kB / 1.141 GB, free: 11.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6702, allocations: 0 / 1.141 GB, free: 11.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.6702, allocations: 0 / 1.141 GB, free: 11.79 MB / 1.01 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.00176/0.672, allocations: 1.318 MB / 1.143 GB, free: 10.92 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.672, allocations: 10.28 kB / 1.143 GB, free: 10.92 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/0.6726, allocations: 198.1 kB / 1.143 GB, free: 10.85 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.6736, allocations: 0.685 MB / 1.144 GB, free: 10.42 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.6737, allocations: 57.66 kB / 1.144 GB, free: 10.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.6737, allocations: 81.33 kB / 1.144 GB, free: 10.37 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.6749, allocations: 1.082 MB / 1.145 GB, free: 9.66 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.6749, allocations: 1.281 kB / 1.145 GB, free: 9.66 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.6749, allocations: 32.97 kB / 1.145 GB, free: 9.637 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.675, allocations: 18.34 kB / 1.145 GB, free: 9.637 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.6762, allocations: 1.006 MB / 1.146 GB, free: 9.41 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.6788, allocations: 2.002 MB / 1.148 GB, free: 8.215 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.6799, allocations: 0.7786 MB / 1.148 GB, free: 7.902 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.6803, allocations: 299.5 kB / 1.149 GB, free: 7.785 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.6804, allocations: 30.27 kB / 1.149 GB, free: 7.777 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006612/0.681, allocations: 0.5738 MB / 1.149 GB, free: 7.477 MB / 1.01 GB Notification: Performance of pre-optimization done (n=83): time 2.104e-06/0.681, allocations: 0 / 1.149 GB, free: 7.477 MB / 1.01 GB Notification: Performance of matching and sorting (n=83): time 0.001418/0.6825, allocations: 1.009 MB / 1.15 GB, free: 7.109 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.6826, allocations: 224.9 kB / 1.151 GB, free: 6.852 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.6832, allocations: 0.5978 MB / 1.151 GB, free: 6.574 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.6832, allocations: 49.98 kB / 1.151 GB, free: 6.527 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.6834, allocations: 362.9 kB / 1.152 GB, free: 6.242 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6836, allocations: 270 kB / 1.152 GB, free: 6.027 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.6838, allocations: 171 kB / 1.152 GB, free: 5.945 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6839, allocations: 385.5 kB / 1.152 GB, free: 5.602 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.6844, allocations: 288.8 kB / 1.153 GB, free: 5.504 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.6849, allocations: 0.5014 MB / 1.153 GB, free: 5.188 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.6858, allocations: 0.6212 MB / 1.154 GB, free: 4.918 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6858, allocations: 2.156 kB / 1.154 GB, free: 4.918 MB / 1.01 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001081/0.6868, allocations: 0.8374 MB / 1.155 GB, free: 4.582 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6869, allocations: 7.078 kB / 1.155 GB, free: 4.582 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6869, allocations: 3.938 kB / 1.155 GB, free: 4.578 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6869, allocations: 8.938 kB / 1.155 GB, free: 4.574 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.6873, allocations: 162.7 kB / 1.155 GB, free: 4.562 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6873, allocations: 5.203 kB / 1.155 GB, free: 4.562 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.6876, allocations: 96.59 kB / 1.155 GB, free: 4.516 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.6876, allocations: 33.39 kB / 1.155 GB, free: 4.512 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.0002669/0.6879, allocations: 270.2 kB / 1.155 GB, free: 4.309 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.688, allocations: 87.55 kB / 1.155 GB, free: 4.262 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.6893, allocations: 1.002 MB / 1.156 GB, free: 3.871 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6893, allocations: 9.781 kB / 1.156 GB, free: 3.871 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.6893, allocations: 0.7969 kB / 1.156 GB, free: 3.871 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6893, allocations: 5.234 kB / 1.156 GB, free: 3.871 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.6914, allocations: 1.722 MB / 1.158 GB, free: 3.004 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6914, allocations: 9.062 kB / 1.158 GB, free: 2.996 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.6917, allocations: 147.2 kB / 1.158 GB, free: 2.984 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6917, allocations: 2.406 kB / 1.158 GB, free: 2.984 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.6917, allocations: 26.53 kB / 1.158 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6917, allocations: 3.469 kB / 1.158 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6917, allocations: 1.344 kB / 1.158 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.6928, allocations: 0.9479 MB / 1.159 GB, free: 2.527 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.6931, allocations: 193.9 kB / 1.159 GB, free: 2.422 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.6931, allocations: 24.36 kB / 1.159 GB, free: 2.406 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.6934, allocations: 66.56 kB / 1.159 GB, free: 2.395 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6935, allocations: 69.06 kB / 1.159 GB, free: 2.387 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.6936, allocations: 40.09 kB / 1.159 GB, free: 2.375 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003863/0.694, allocations: 432.7 kB / 1.16 GB, free: 2.184 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.694, allocations: 0 / 1.16 GB, free: 2.184 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005956/0.6946, allocations: 304.7 kB / 1.16 GB, free: 2.098 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.00109/0.6957, allocations: 0.66 MB / 1.161 GB, free: 1.832 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009837/0.6966, allocations: 0.6961 MB / 1.161 GB, free: 1.613 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.6967, allocations: 0 / 1.161 GB, free: 1.613 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.6971, allocations: 367 kB / 1.162 GB, free: 1.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.6978, allocations: 271.5 kB / 1.162 GB, free: 1.414 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.6999, allocations: 1.588 MB / 1.163 GB, free: 0.5625 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.7003, allocations: 402.6 kB / 1.164 GB, free: 456 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.7005, allocations: 123.9 kB / 1.164 GB, free: 428 kB / 1.01 GB Notification: Performance of SimCode: time 6.92e-07/0.7005, allocations: 0 / 1.164 GB, free: 428 kB / 1.01 GB Notification: Performance of Templates: time 0.01531/0.7158, allocations: 14.7 MB / 1.178 GB, free: 13.14 MB / 1.026 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.046747379004955]