Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 104.1 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 192 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.69 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3455, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006569/0.3521, allocations: 4.699 MB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6874/1.04, allocations: 150.6 MB / 1.17 GB, free: 324 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/1.04, allocations: 19.66 kB / 1.17 GB, free: 316 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000541/1.041, allocations: 185.8 kB / 1.171 GB, free: 192 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/1.043, allocations: 0.5323 MB / 1.171 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/1.045, allocations: 0.8392 MB / 1.172 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001536/1.046, allocations: 1.392 MB / 1.173 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007875/1.047, allocations: 0.536 MB / 1.174 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006651/1.048, allocations: 475 kB / 1.174 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/1.048, allocations: 489.8 kB / 1.175 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/1.048, allocations: 110.5 kB / 1.175 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/1.05, allocations: 0.8741 MB / 1.176 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002815/1.05, allocations: 294.3 kB / 1.176 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/1.051, allocations: 0.5318 MB / 1.177 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/1.053, allocations: 1.779 MB / 1.178 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.053, allocations: 1.125 kB / 1.178 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/1.053, allocations: 0 / 1.178 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.282e-05/1.053, allocations: 0 / 1.178 GB, free: 11.91 MB / 0.8887 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.002519/1.055, allocations: 1.45 MB / 1.18 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.055, allocations: 14.75 kB / 1.18 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.057, allocations: 208.3 kB / 1.18 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.058, allocations: 0.7604 MB / 1.181 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/1.058, allocations: 57.62 kB / 1.181 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.058, allocations: 71.75 kB / 1.181 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.06, allocations: 0.8935 MB / 1.182 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.06, allocations: 9.281 kB / 1.182 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/1.06, allocations: 31.62 kB / 1.182 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.06, allocations: 21.97 kB / 1.182 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/1.062, allocations: 1.135 MB / 1.183 GB, free: 8.816 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/1.066, allocations: 2.574 MB / 1.185 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.067, allocations: 0.8252 MB / 1.186 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/1.068, allocations: 337.3 kB / 1.186 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-05/1.068, allocations: 36.2 kB / 1.186 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009567/1.069, allocations: 0.5299 MB / 1.187 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/1.069, allocations: 0 / 1.187 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003535/1.073, allocations: 1.285 MB / 1.188 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/1.073, allocations: 202.8 kB / 1.188 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/1.073, allocations: 0.6331 MB / 1.189 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/1.074, allocations: 42.83 kB / 1.189 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/1.074, allocations: 380.7 kB / 1.189 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.074, allocations: 266.9 kB / 1.19 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.074, allocations: 174.7 kB / 1.19 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.074, allocations: 388.5 kB / 1.19 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/1.075, allocations: 298.5 kB / 1.191 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007342/1.076, allocations: 398.9 kB / 1.191 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.077, allocations: 0.6797 MB / 1.192 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.077, allocations: 0 / 1.192 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002149/1.079, allocations: 0.917 MB / 1.192 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.079, allocations: 9.406 kB / 1.192 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.079, allocations: 0 / 1.192 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/1.08, allocations: 86.05 kB / 1.193 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/1.081, allocations: 176.1 kB / 1.193 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.083, allocations: 1.643 MB / 1.194 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/1.084, allocations: 106.3 kB / 1.194 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/1.084, allocations: 41.12 kB / 1.194 GB, free: 448 kB / 0.8887 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.0003973/1.084, allocations: 269 kB / 1.195 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/1.084, allocations: 93.55 kB / 1.195 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/1.087, allocations: 1.196 MB / 1.196 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.087, allocations: 14.08 kB / 1.196 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.087, allocations: 0 / 1.196 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.087, allocations: 3.984 kB / 1.196 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/1.088, allocations: 0.9103 MB / 1.197 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.088, allocations: 2.781 kB / 1.197 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/1.089, allocations: 164 kB / 1.197 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/1.089, allocations: 74.59 kB / 1.197 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/1.089, allocations: 25.61 kB / 1.197 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/1.091, allocations: 1.675 MB / 1.199 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.091, allocations: 3.656 kB / 1.199 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.093, allocations: 0.9991 MB / 1.2 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/1.094, allocations: 283.6 kB / 1.2 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.094, allocations: 23.45 kB / 1.2 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/1.095, allocations: 75.2 kB / 1.2 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.095, allocations: 76.08 kB / 1.2 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/1.095, allocations: 38.69 kB / 1.2 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005334/1.095, allocations: 459.5 kB / 1.201 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.095, allocations: 0 / 1.201 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000887/1.096, allocations: 331.1 kB / 1.201 GB, free: 11.84 MB / 0.9044 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.001364/1.098, allocations: 0.6267 MB / 1.202 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.1, allocations: 0.904 MB / 1.202 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.1, allocations: 0 / 1.202 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.101, allocations: 0.5558 MB / 1.203 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/1.102, allocations: 306 kB / 1.203 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/1.104, allocations: 1.647 MB / 1.205 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/1.105, allocations: 1.012 MB / 1.206 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008164/1.106, allocations: 290.7 kB / 1.206 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/1.106, allocations: 111.4 kB / 1.206 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/1.106, allocations: 0 / 1.206 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of Templates: time 0.02707/1.133, allocations: 15.86 MB / 1.222 GB, free: 8.5 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches