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.001966/0.001966, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002158/0.002158, allocations: 194.7 kB / 16.14 MB, free: 6.637 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.885/2.885, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 71.89 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.655, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006562/0.6616, allocations: 4.706 MB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.8397, allocations: 148.3 MB / 1.166 GB, free: 9.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009708/0.8408, allocations: 15.94 kB / 1.166 GB, free: 9.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009059/0.8417, allocations: 150.8 kB / 1.166 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.844, allocations: 457.6 kB / 1.167 GB, free: 8.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.8463, allocations: 0.7307 MB / 1.167 GB, free: 7.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.8483, allocations: 1.288 MB / 1.169 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009852/0.8493, allocations: 0.5233 MB / 1.169 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.8501, allocations: 410.3 kB / 1.169 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007916/0.8509, allocations: 457.8 kB / 1.17 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.8511, allocations: 55.94 kB / 1.17 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.8527, allocations: 0.788 MB / 1.171 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.8531, allocations: 223 kB / 1.171 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006406/0.8537, allocations: 489.2 kB / 1.171 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.8566, allocations: 1.69 MB / 1.173 GB, free: 2.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.8566, allocations: 0 / 1.173 GB, free: 2.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8566, allocations: 0 / 1.173 GB, free: 2.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.454e-05/0.8566, allocations: 0 / 1.173 GB, free: 2.008 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.003328/0.86, allocations: 1.454 MB / 1.174 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.86, allocations: 11.98 kB / 1.175 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.8613, allocations: 211.4 kB / 1.175 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.8625, allocations: 0.7313 MB / 1.175 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.8626, allocations: 57.94 kB / 1.175 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.8628, allocations: 72 kB / 1.176 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8646, allocations: 0.8996 MB / 1.176 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.8646, allocations: 0 / 1.176 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.8647, allocations: 35.98 kB / 1.176 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.8648, allocations: 16 kB / 1.176 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.867, allocations: 1.124 MB / 1.178 GB, free: 13.27 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.004628/0.8716, allocations: 2.604 MB / 1.18 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.8734, allocations: 0.8391 MB / 1.181 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/0.8741, allocations: 330.7 kB / 1.181 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.563e-05/0.8742, allocations: 32.61 kB / 1.181 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.8754, allocations: 0.5357 MB / 1.182 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.8754, allocations: 0 / 1.182 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003864/0.8793, allocations: 1.283 MB / 1.183 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.8794, allocations: 188.6 kB / 1.183 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.8804, allocations: 0.6449 MB / 1.184 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.26e-05/0.8805, allocations: 45.7 kB / 1.184 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.8809, allocations: 380.4 kB / 1.184 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.8811, allocations: 268.1 kB / 1.185 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.8814, allocations: 174.5 kB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.8817, allocations: 390.7 kB / 1.185 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.8824, allocations: 297.8 kB / 1.185 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.8833, allocations: 407.9 kB / 1.186 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.8848, allocations: 0.6627 MB / 1.186 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8849, allocations: 0 / 1.186 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002465/0.8873, allocations: 0.9229 MB / 1.187 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.8874, allocations: 6.344 kB / 1.187 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.8874, allocations: 0 / 1.187 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.888, allocations: 88.89 kB / 1.187 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.8888, allocations: 183.6 kB / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.891, allocations: 1.531 MB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.8919, allocations: 99.3 kB / 1.189 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.892, allocations: 39.97 kB / 1.189 GB, free: 0.9492 MB / 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.0005029/0.8925, allocations: 272.5 kB / 1.189 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.8927, allocations: 90.91 kB / 1.19 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/0.8958, allocations: 1.195 MB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.8959, allocations: 12 kB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8959, allocations: 0 / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.8959, allocations: 3.984 kB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.8974, allocations: 0.9229 MB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8974, allocations: 0 / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007134/0.8981, allocations: 167.8 kB / 1.192 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005617/0.8987, allocations: 80.78 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/0.8988, allocations: 31.97 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.901, allocations: 1.548 MB / 1.193 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9011, allocations: 4.062 kB / 1.193 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.9035, allocations: 0.998 MB / 1.194 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.9039, allocations: 291.5 kB / 1.195 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.9041, allocations: 23.98 kB / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.9048, allocations: 75.92 kB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.905, allocations: 68.89 kB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.9051, allocations: 44.03 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006445/0.9057, allocations: 463 kB / 1.195 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9057, allocations: 0 / 1.195 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009476/0.9067, allocations: 327.4 kB / 1.196 GB, free: 10.12 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.001991/0.9087, allocations: 0.6266 MB / 1.196 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.9108, allocations: 0.8978 MB / 1.197 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9108, allocations: 4 kB / 1.197 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.912, allocations: 0.5548 MB / 1.198 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.9133, allocations: 272.1 kB / 1.198 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.9177, allocations: 2.055 MB / 1.2 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/0.9187, allocations: 1.016 MB / 1.201 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001152/0.9199, allocations: 278.8 kB / 1.201 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.9202, allocations: 111.4 kB / 1.201 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of SimCode: time 1.032e-06/0.9203, allocations: 0 / 1.201 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of Templates: time 0.03003/0.9503, allocations: 15.18 MB / 1.216 GB, free: 5.414 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