Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.007254/0.007254, allocations: 109.5 kB / 15.71 MB, free: 5.996 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.001684/0.001684, allocations: 185.1 kB / 16.64 MB, free: 5.93 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.393/1.393, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 140.4 MB / 1.088 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006228/1.107, allocations: 4.424 MB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2082/1.316, allocations: 150.6 MB / 1.239 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/1.317, allocations: 18.88 kB / 1.239 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006295/1.318, allocations: 180.2 kB / 1.24 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/1.32, allocations: 0.5075 MB / 1.24 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/1.322, allocations: 0.8365 MB / 1.241 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001937/1.324, allocations: 1.337 MB / 1.242 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000924/1.325, allocations: 0.5667 MB / 1.243 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000904/1.326, allocations: 468.6 kB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/1.327, allocations: 490.2 kB / 1.244 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/1.327, allocations: 110.3 kB / 1.244 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/1.329, allocations: 0.8754 MB / 1.245 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/1.329, allocations: 283.1 kB / 1.245 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005137/1.33, allocations: 0.5246 MB / 1.245 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/1.332, allocations: 1.77 MB / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.332, allocations: 0 / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.532e-06/1.332, allocations: 0 / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.289e-05/1.332, allocations: 4 kB / 1.247 GB, free: 10.7 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.002551/1.335, allocations: 1.442 MB / 1.248 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.335, allocations: 15.97 kB / 1.248 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/1.336, allocations: 203.5 kB / 1.249 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.337, allocations: 0.7547 MB / 1.249 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/1.337, allocations: 61.98 kB / 1.249 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.337, allocations: 72 kB / 1.25 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.339, allocations: 0.8957 MB / 1.25 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.339, allocations: 3.938 kB / 1.25 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/1.339, allocations: 35.98 kB / 1.25 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/1.339, allocations: 20 kB / 1.25 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/1.341, allocations: 1.128 MB / 1.252 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/1.345, allocations: 2.461 MB / 1.254 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.347, allocations: 0.8492 MB / 1.255 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006917/1.347, allocations: 338.7 kB / 1.255 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/1.348, allocations: 28.61 kB / 1.255 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/1.349, allocations: 0.5264 MB / 1.256 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.274e-06/1.349, allocations: 0 / 1.256 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003672/1.352, allocations: 1.289 MB / 1.257 GB, free: 336 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.352, allocations: 192.6 kB / 1.257 GB, free: 100 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/1.353, allocations: 0.6449 MB / 1.258 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/1.353, allocations: 41.7 kB / 1.258 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/1.354, allocations: 376.6 kB / 1.258 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/1.354, allocations: 268.2 kB / 1.258 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/1.354, allocations: 178.4 kB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.354, allocations: 390.7 kB / 1.259 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/1.355, allocations: 293.8 kB / 1.259 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/1.356, allocations: 411.9 kB / 1.26 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/1.357, allocations: 0.6588 MB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.357, allocations: 4 kB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002286/1.36, allocations: 0.9229 MB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.36, allocations: 4 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.36, allocations: 4 kB / 1.261 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/1.36, allocations: 84.89 kB / 1.261 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/1.361, allocations: 175.8 kB / 1.261 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.364, allocations: 1.646 MB / 1.263 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/1.364, allocations: 99.31 kB / 1.263 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.605e-05/1.364, allocations: 39.95 kB / 1.263 GB, free: 9.672 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.000658/1.365, allocations: 273.5 kB / 1.263 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/1.365, allocations: 86.97 kB / 1.264 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/1.369, allocations: 1.194 MB / 1.265 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.369, allocations: 12 kB / 1.265 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.369, allocations: 4 kB / 1.265 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.369, allocations: 7.922 kB / 1.265 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/1.371, allocations: 0.9074 MB / 1.266 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.371, allocations: 0 / 1.266 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/1.371, allocations: 163.8 kB / 1.266 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/1.372, allocations: 76.73 kB / 1.266 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/1.372, allocations: 31.91 kB / 1.266 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/1.374, allocations: 1.674 MB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.374, allocations: 0 / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/1.377, allocations: 1.002 MB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/1.377, allocations: 287.7 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.377, allocations: 16 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/1.378, allocations: 75.86 kB / 1.269 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.378, allocations: 76.89 kB / 1.269 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/1.379, allocations: 39.97 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008221/1.379, allocations: 459 kB / 1.269 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.379, allocations: 4 kB / 1.269 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001213/1.381, allocations: 327.3 kB / 1.27 GB, free: 2.734 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.001573/1.382, allocations: 0.6158 MB / 1.27 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002277/1.384, allocations: 0.9054 MB / 1.271 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.385, allocations: 0 / 1.271 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.386, allocations: 0.5588 MB / 1.272 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/1.387, allocations: 294.9 kB / 1.272 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/1.391, allocations: 1.755 MB / 1.274 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/1.392, allocations: 1.02 MB / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009933/1.393, allocations: 278.8 kB / 1.275 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/1.393, allocations: 115.4 kB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.393, allocations: 0 / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of Templates: time 0.02699/1.42, allocations: 15.58 MB / 1.29 GB, free: 13.91 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches