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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002195/0.002195, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002827/0.002828, allocations: 200.6 kB / 16.26 MB, free: 6.625 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.552/1.552, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.891/2.891, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7903, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006977/0.7973, allocations: 4.69 MB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.9748, allocations: 148.4 MB / 1.166 GB, free: 9.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008717/0.9757, allocations: 19.88 kB / 1.166 GB, free: 9.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009089/0.9766, allocations: 142.9 kB / 1.166 GB, free: 8.922 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.979, allocations: 487 kB / 1.167 GB, free: 8.449 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.9813, allocations: 0.7438 MB / 1.168 GB, free: 7.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.9834, allocations: 1.393 MB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.9846, allocations: 0.5272 MB / 1.169 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008992/0.9855, allocations: 486.3 kB / 1.17 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.9863, allocations: 489.8 kB / 1.17 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.9866, allocations: 112 kB / 1.171 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.9882, allocations: 0.8504 MB / 1.171 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.9886, allocations: 283.1 kB / 1.172 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.9895, allocations: 0.5324 MB / 1.172 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.9923, allocations: 1.749 MB / 1.174 GB, free: 1.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9924, allocations: 7.938 kB / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9924, allocations: 0 / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.614e-05/0.9924, allocations: 0 / 1.174 GB, free: 1.273 MB / 0.92 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.003845/0.9963, allocations: 1.45 MB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.9964, allocations: 11.98 kB / 1.175 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.9977, allocations: 207.4 kB / 1.175 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.9991, allocations: 0.7429 MB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.9992, allocations: 58 kB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.9993, allocations: 72 kB / 1.176 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/1.001, allocations: 0.8958 MB / 1.177 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.001, allocations: 8 kB / 1.177 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/1.002, allocations: 32 kB / 1.177 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/1.002, allocations: 16 kB / 1.177 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/1.004, allocations: 1.128 MB / 1.178 GB, free: 12.52 MB / 0.9356 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.004821/1.009, allocations: 2.603 MB / 1.181 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/1.011, allocations: 0.8396 MB / 1.182 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/1.011, allocations: 330.7 kB / 1.182 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-05/1.011, allocations: 36.61 kB / 1.182 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/1.013, allocations: 0.528 MB / 1.183 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/1.013, allocations: 0 / 1.183 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003912/1.017, allocations: 1.293 MB / 1.184 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.017, allocations: 188.6 kB / 1.184 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/1.018, allocations: 0.641 MB / 1.185 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/1.018, allocations: 45.7 kB / 1.185 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/1.018, allocations: 372.6 kB / 1.185 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/1.018, allocations: 264.2 kB / 1.185 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/1.019, allocations: 178.4 kB / 1.185 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002241/1.019, allocations: 394.7 kB / 1.186 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007492/1.02, allocations: 293.8 kB / 1.186 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/1.021, allocations: 403.9 kB / 1.187 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/1.022, allocations: 0.6627 MB / 1.187 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.022, allocations: 0 / 1.187 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002582/1.025, allocations: 0.919 MB / 1.188 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.025, allocations: 8 kB / 1.188 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.025, allocations: 0 / 1.188 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006496/1.026, allocations: 84.89 kB / 1.188 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/1.026, allocations: 187.8 kB / 1.188 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/1.029, allocations: 1.646 MB / 1.19 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/1.03, allocations: 101.6 kB / 1.19 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/1.03, allocations: 39.97 kB / 1.19 GB, free: 100 kB / 0.9356 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.0005171/1.03, allocations: 271.9 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.031, allocations: 86.97 kB / 1.19 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/1.034, allocations: 1.202 MB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.034, allocations: 8 kB / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.034, allocations: 0 / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/1.034, allocations: 23.84 kB / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/1.035, allocations: 0.9035 MB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.035, allocations: 4 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/1.036, allocations: 163.8 kB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/1.037, allocations: 76.78 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/1.037, allocations: 23.98 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/1.039, allocations: 1.67 MB / 1.194 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.039, allocations: 0 / 1.194 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/1.042, allocations: 0.9981 MB / 1.195 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/1.042, allocations: 287.6 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/1.042, allocations: 24 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/1.043, allocations: 71.91 kB / 1.196 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.043, allocations: 76.89 kB / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-05/1.043, allocations: 31.98 kB / 1.196 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007004/1.044, allocations: 471 kB / 1.196 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.044, allocations: 0 / 1.196 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001026/1.045, allocations: 327.3 kB / 1.197 GB, free: 9.16 MB / 0.9512 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.002405/1.048, allocations: 0.6259 MB / 1.197 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003351/1.051, allocations: 1.116 MB / 1.198 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.051, allocations: 0 / 1.198 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.052, allocations: 0.5551 MB / 1.199 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.054, allocations: 308.8 kB / 1.199 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/1.058, allocations: 2.054 MB / 1.201 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/1.059, allocations: 1.021 MB / 1.202 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001321/1.06, allocations: 266.9 kB / 1.202 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/1.061, allocations: 119.4 kB / 1.203 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/1.061, allocations: 0 / 1.203 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of Templates: time 0.03292/1.094, allocations: 15.71 MB / 1.218 GB, free: 3.688 MB / 0.9669 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches