Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001677/0.001677, allocations: 104.6 kB / 15.99 MB, free: 5.891 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.001758/0.001758, allocations: 189.5 kB / 16.91 MB, free: 5.746 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.458/1.458, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.937/2.937, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 66.42 kB / 0.9087 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3458, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007141/0.353, allocations: 4.699 MB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1899/0.5429, allocations: 148.4 MB / 1.214 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.5444, allocations: 19.88 kB / 1.214 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.5455, allocations: 142.9 kB / 1.214 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.5482, allocations: 481.6 kB / 1.214 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.5507, allocations: 0.7528 MB / 1.215 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.553, allocations: 1.382 MB / 1.216 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.5542, allocations: 0.5389 MB / 1.217 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.5552, allocations: 482.2 kB / 1.217 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009964/0.5563, allocations: 495.4 kB / 1.218 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.5566, allocations: 108 kB / 1.218 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.5587, allocations: 0.8543 MB / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004722/0.5592, allocations: 287.1 kB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008737/0.5601, allocations: 0.5285 MB / 1.219 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.5625, allocations: 1.322 MB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.5626, allocations: 4 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5626, allocations: 0 / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.357e-05/0.5627, allocations: 0 / 1.221 GB, free: 13.57 MB / 0.9825 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.003812/0.5665, allocations: 1.458 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.5666, allocations: 12.03 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.5679, allocations: 203.5 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.5693, allocations: 0.7429 MB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.5693, allocations: 57.98 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.5695, allocations: 72 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.5714, allocations: 0.8996 MB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5714, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.66e-05/0.5715, allocations: 32 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.5716, allocations: 16 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.5738, allocations: 1.128 MB / 1.225 GB, free: 8.824 MB / 0.9825 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.004381/0.5782, allocations: 2.606 MB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.5799, allocations: 0.8343 MB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.5806, allocations: 330.7 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.943e-05/0.5807, allocations: 32.61 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5819, allocations: 0.5357 MB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.387e-06/0.5819, allocations: 0 / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003827/0.5857, allocations: 1.283 MB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.5859, allocations: 188.6 kB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.5868, allocations: 0.6449 MB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.5869, allocations: 49.64 kB / 1.232 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.5873, allocations: 380.5 kB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.5875, allocations: 260.2 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.5878, allocations: 174.5 kB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.5881, allocations: 394.7 kB / 1.233 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.5888, allocations: 293.8 kB / 1.233 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.5896, allocations: 404 kB / 1.233 GB, free: 228 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.5911, allocations: 0.6666 MB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5912, allocations: 0 / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002417/0.5936, allocations: 0.9268 MB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.5936, allocations: 7.938 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5936, allocations: 0 / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.5943, allocations: 80.91 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.595, allocations: 183.7 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.5975, allocations: 1.651 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.5983, allocations: 99.34 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.5984, allocations: 39.97 kB / 1.237 GB, free: 12.4 MB / 0.9981 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.0005009/0.5989, allocations: 275.7 kB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5991, allocations: 86.97 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.6022, allocations: 1.202 MB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.6022, allocations: 15.94 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6022, allocations: 0 / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.6022, allocations: 7.922 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.6034, allocations: 0.9035 MB / 1.239 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6034, allocations: 0 / 1.239 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/0.6041, allocations: 163.8 kB / 1.24 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/0.6046, allocations: 72.8 kB / 1.24 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.6047, allocations: 27.97 kB / 1.24 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.6068, allocations: 1.67 MB / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6068, allocations: 0 / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.6091, allocations: 1.01 MB / 1.242 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.6096, allocations: 279.7 kB / 1.243 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.6097, allocations: 20 kB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.6104, allocations: 75.83 kB / 1.243 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.6106, allocations: 76.89 kB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-05/0.6107, allocations: 40.03 kB / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006339/0.6113, allocations: 463 kB / 1.243 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.395e-06/0.6113, allocations: 0 / 1.243 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009716/0.6123, allocations: 335.2 kB / 1.244 GB, free: 5.457 MB / 0.9981 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.002062/0.6144, allocations: 0.6198 MB / 1.244 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.6173, allocations: 1.116 MB / 1.245 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6173, allocations: 0 / 1.245 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.6184, allocations: 0.5509 MB / 1.246 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6197, allocations: 308.8 kB / 1.246 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.6233, allocations: 2.091 MB / 1.248 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5989/1.222, allocations: 1.011 MB / 1.249 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007304/1.223, allocations: 128.7 kB / 1.249 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.493e-06/1.223, allocations: 0 / 1.249 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0354/1.258, allocations: 18.94 MB / 1.268 GB, free: 181.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches