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.001002/0.001002, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008833/0.008833, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.669/2.669, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 8 kB / 0.8728 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6704, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005638/0.6761, allocations: 4.278 MB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.8431, allocations: 146.7 MB / 1.17 GB, free: 8.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.8441, allocations: 15.88 kB / 1.17 GB, free: 8.254 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005649/0.8447, allocations: 142.9 kB / 1.171 GB, free: 8.113 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.8465, allocations: 466.9 kB / 1.171 GB, free: 7.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.8487, allocations: 0.7254 MB / 1.172 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.8504, allocations: 1.292 MB / 1.173 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008786/0.8513, allocations: 0.5116 MB / 1.173 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006846/0.852, allocations: 354.4 kB / 1.174 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006515/0.8527, allocations: 397.9 kB / 1.174 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.8528, allocations: 24 kB / 1.174 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.8544, allocations: 0.7684 MB / 1.175 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.8547, allocations: 187.1 kB / 1.175 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.8552, allocations: 458.9 kB / 1.176 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.8575, allocations: 1.655 MB / 1.177 GB, free: 1.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8575, allocations: 0 / 1.177 GB, free: 1.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8575, allocations: 0 / 1.177 GB, free: 1.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.401e-05/0.8576, allocations: 0 / 1.177 GB, free: 1.281 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.00279/0.8603, allocations: 1.251 MB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8604, allocations: 19.98 kB / 1.178 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.8616, allocations: 211.4 kB / 1.179 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.8626, allocations: 0.7391 MB / 1.179 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.8627, allocations: 61.94 kB / 1.179 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.8628, allocations: 75.98 kB / 1.18 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.8644, allocations: 0.8958 MB / 1.18 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.8644, allocations: 4 kB / 1.18 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.8645, allocations: 32 kB / 1.18 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.8645, allocations: 20 kB / 1.18 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.8666, allocations: 1.159 MB / 1.182 GB, free: 12.68 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.003955/0.8705, allocations: 2.63 MB / 1.184 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.8722, allocations: 0.8475 MB / 1.185 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/0.8729, allocations: 342.6 kB / 1.185 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.873, allocations: 40.59 kB / 1.185 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.8741, allocations: 0.5318 MB / 1.186 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/0.8741, allocations: 4 kB / 1.186 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003594/0.8777, allocations: 1.311 MB / 1.187 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.8778, allocations: 196.5 kB / 1.187 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.8786, allocations: 0.6332 MB / 1.188 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-05/0.8787, allocations: 45.69 kB / 1.188 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.879, allocations: 380.5 kB / 1.188 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.8792, allocations: 268.1 kB / 1.189 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.8793, allocations: 73.67 kB / 1.189 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.8795, allocations: 394.7 kB / 1.189 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.8802, allocations: 301.8 kB / 1.189 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.881, allocations: 411.9 kB / 1.19 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.8825, allocations: 0.6862 MB / 1.19 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8825, allocations: 0 / 1.19 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002251/0.8847, allocations: 0.9346 MB / 1.191 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8848, allocations: 4 kB / 1.191 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8848, allocations: 4.062 kB / 1.191 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.8854, allocations: 88.89 kB / 1.191 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.8862, allocations: 183.7 kB / 1.192 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.8882, allocations: 1.536 MB / 1.193 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/0.889, allocations: 113.2 kB / 1.193 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.8891, allocations: 39.97 kB / 1.193 GB, free: 332 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.0004262/0.8896, allocations: 268.6 kB / 1.193 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.8897, allocations: 91.08 kB / 1.194 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/0.8927, allocations: 1.218 MB / 1.195 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.8927, allocations: 12 kB / 1.195 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8927, allocations: 4 kB / 1.195 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.8927, allocations: 3.984 kB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.8938, allocations: 0.9113 MB / 1.196 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8938, allocations: 0 / 1.196 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.8945, allocations: 167.8 kB / 1.196 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/0.8951, allocations: 88.72 kB / 1.196 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.8952, allocations: 31.97 kB / 1.196 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.897, allocations: 1.552 MB / 1.197 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.897, allocations: 0 / 1.197 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.8993, allocations: 1.018 MB / 1.198 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.8997, allocations: 307.5 kB / 1.199 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.8998, allocations: 24 kB / 1.199 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/0.9006, allocations: 87.92 kB / 1.199 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.9008, allocations: 72.89 kB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.722e-05/0.9009, allocations: 40.11 kB / 1.199 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006419/0.9016, allocations: 467 kB / 1.199 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9016, allocations: 0 / 1.199 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001047/0.9026, allocations: 327.4 kB / 1.2 GB, free: 9.418 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.001494/0.9041, allocations: 0.6205 MB / 1.2 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.9062, allocations: 0.9212 MB / 1.201 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9062, allocations: 0 / 1.201 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.9073, allocations: 0.5627 MB / 1.202 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.9086, allocations: 274.5 kB / 1.202 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.9119, allocations: 2.076 MB / 1.204 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.9125, allocations: 1.016 MB / 1.205 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000985/0.9135, allocations: 278.8 kB / 1.205 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.9138, allocations: 115.4 kB / 1.205 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of SimCode: time 2.514e-06/0.9138, allocations: 0 / 1.205 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of Templates: time 0.02828/0.9421, allocations: 15.08 MB / 1.22 GB, free: 4.766 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=480 -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