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.001341/0.001341, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.898/2.898, allocations: 437 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002169, allocations: 71.89 kB / 0.8692 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.775, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.01109/0.7862, allocations: 4.686 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1913/0.9775, allocations: 150.6 MB / 1.169 GB, free: 6.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000794/0.9783, allocations: 15.94 kB / 1.169 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.979, allocations: 190.2 kB / 1.169 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.9807, allocations: 0.532 MB / 1.17 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.9827, allocations: 0.8456 MB / 1.17 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.9842, allocations: 1.374 MB / 1.172 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008379/0.9851, allocations: 0.5311 MB / 1.172 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.9857, allocations: 482.3 kB / 1.173 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.9864, allocations: 493.9 kB / 1.173 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.9865, allocations: 112 kB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.9881, allocations: 0.8504 MB / 1.174 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.9885, allocations: 275.1 kB / 1.174 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.989, allocations: 0.5324 MB / 1.175 GB, free: 332 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.9913, allocations: 1.749 MB / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9913, allocations: 0 / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9913, allocations: 4 kB / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.9913, allocations: 0 / 1.177 GB, free: 14.57 MB / 0.9356 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.002753/0.9941, allocations: 1.45 MB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9941, allocations: 11.98 kB / 1.178 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.9953, allocations: 211.4 kB / 1.178 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.9965, allocations: 0.7391 MB / 1.179 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/0.9966, allocations: 61.88 kB / 1.179 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.9967, allocations: 72 kB / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.9984, allocations: 0.8958 MB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.9984, allocations: 4 kB / 1.18 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.9985, allocations: 32 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.9986, allocations: 20 kB / 1.18 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/1.001, allocations: 1.12 MB / 1.181 GB, free: 9.82 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.004447/1.005, allocations: 2.615 MB / 1.184 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/1.007, allocations: 0.8313 MB / 1.185 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/1.008, allocations: 334.7 kB / 1.185 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/1.008, allocations: 24.61 kB / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.009, allocations: 0.5342 MB / 1.185 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/1.009, allocations: 0 / 1.185 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003824/1.013, allocations: 1.289 MB / 1.187 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.013, allocations: 196.5 kB / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009065/1.014, allocations: 0.6371 MB / 1.187 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/1.014, allocations: 41.7 kB / 1.188 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/1.014, allocations: 376.6 kB / 1.188 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/1.015, allocations: 268.2 kB / 1.188 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/1.015, allocations: 174.4 kB / 1.188 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002162/1.015, allocations: 390.7 kB / 1.189 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007518/1.016, allocations: 301.8 kB / 1.189 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/1.017, allocations: 399.9 kB / 1.189 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/1.018, allocations: 0.6666 MB / 1.19 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.018, allocations: 0 / 1.19 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002488/1.021, allocations: 0.9151 MB / 1.191 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.021, allocations: 4 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.021, allocations: 4 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/1.021, allocations: 84.89 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/1.022, allocations: 183.7 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/1.025, allocations: 1.652 MB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000837/1.025, allocations: 95.31 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/1.026, allocations: 39.97 kB / 1.193 GB, free: 13.39 MB / 0.9512 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.0005053/1.026, allocations: 275.9 kB / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/1.026, allocations: 82.97 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/1.029, allocations: 1.206 MB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.029, allocations: 15.94 kB / 1.194 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.029, allocations: 0 / 1.194 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.029, allocations: 7.922 kB / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/1.031, allocations: 0.9191 MB / 1.195 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.031, allocations: 0 / 1.195 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/1.031, allocations: 159.8 kB / 1.195 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/1.032, allocations: 72.78 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/1.032, allocations: 27.97 kB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/1.034, allocations: 1.67 MB / 1.197 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.034, allocations: 0 / 1.197 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/1.036, allocations: 1.006 MB / 1.198 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/1.037, allocations: 291.7 kB / 1.198 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.037, allocations: 16 kB / 1.198 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/1.038, allocations: 67.92 kB / 1.199 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/1.038, allocations: 76.89 kB / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/1.038, allocations: 39.97 kB / 1.199 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006564/1.039, allocations: 467 kB / 1.199 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.039, allocations: 0 / 1.199 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009863/1.04, allocations: 331.3 kB / 1.199 GB, free: 6.445 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.001994/1.042, allocations: 0.6287 MB / 1.2 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003041/1.045, allocations: 1.108 MB / 1.201 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.045, allocations: 0 / 1.201 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/1.046, allocations: 0.5628 MB / 1.202 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.047, allocations: 304.7 kB / 1.202 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/1.05, allocations: 1.665 MB / 1.204 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/1.051, allocations: 1.02 MB / 1.205 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009922/1.052, allocations: 274.8 kB / 1.205 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/1.053, allocations: 115.4 kB / 1.205 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/1.053, allocations: 0 / 1.205 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of Templates: time 0.03006/1.083, allocations: 15.88 MB / 1.22 GB, free: 1.207 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