Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001296/0.001296, allocations: 100.9 kB / 16.27 MB, free: 6.414 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.001288/0.001288, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 56.66 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8203, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006722/0.827, allocations: 4.689 MB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1993/1.026, allocations: 150.6 MB / 1.235 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/1.028, allocations: 19.88 kB / 1.235 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006046/1.028, allocations: 182.2 kB / 1.235 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/1.03, allocations: 0.5318 MB / 1.235 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/1.033, allocations: 0.8386 MB / 1.236 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001692/1.034, allocations: 1.378 MB / 1.237 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008598/1.035, allocations: 0.5311 MB / 1.238 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/1.036, allocations: 474.4 kB / 1.238 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/1.036, allocations: 493.9 kB / 1.239 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/1.037, allocations: 108 kB / 1.239 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/1.038, allocations: 0.8465 MB / 1.24 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/1.039, allocations: 287.1 kB / 1.24 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005448/1.039, allocations: 0.5324 MB / 1.241 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/1.041, allocations: 1.745 MB / 1.242 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.041, allocations: 0 / 1.242 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/1.041, allocations: 3.938 kB / 1.242 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.041, allocations: 0 / 1.242 GB, free: 11.19 MB / 0.9669 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.002849/1.044, allocations: 1.454 MB / 1.244 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.044, allocations: 8.031 kB / 1.244 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/1.046, allocations: 211.4 kB / 1.244 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/1.047, allocations: 0.7351 MB / 1.245 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/1.047, allocations: 58 kB / 1.245 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.047, allocations: 72 kB / 1.245 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/1.049, allocations: 0.9035 MB / 1.246 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.049, allocations: 0 / 1.246 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/1.049, allocations: 32 kB / 1.246 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/1.049, allocations: 16 kB / 1.246 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/1.051, allocations: 1.135 MB / 1.247 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/1.055, allocations: 2.593 MB / 1.249 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/1.057, allocations: 0.8403 MB / 1.25 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007431/1.058, allocations: 330.7 kB / 1.25 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/1.058, allocations: 32.61 kB / 1.251 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/1.059, allocations: 0.5344 MB / 1.251 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/1.059, allocations: 0 / 1.251 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.003848/1.063, allocations: 1.287 MB / 1.252 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/1.063, allocations: 196.6 kB / 1.252 GB, free: 440 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/1.064, allocations: 0.6334 MB / 1.253 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.656e-05/1.064, allocations: 45.7 kB / 1.253 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/1.065, allocations: 380.5 kB / 1.253 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/1.065, allocations: 264.1 kB / 1.254 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/1.065, allocations: 170.5 kB / 1.254 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000233/1.066, allocations: 394.7 kB / 1.254 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/1.066, allocations: 297.8 kB / 1.255 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/1.067, allocations: 395.9 kB / 1.255 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.069, allocations: 0.6705 MB / 1.256 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.069, allocations: 4 kB / 1.256 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002498/1.071, allocations: 0.9189 MB / 1.257 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.071, allocations: 8 kB / 1.257 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.071, allocations: 3.938 kB / 1.257 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/1.072, allocations: 84.89 kB / 1.257 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/1.073, allocations: 175.8 kB / 1.257 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/1.075, allocations: 1.657 MB / 1.258 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/1.076, allocations: 101.8 kB / 1.258 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/1.076, allocations: 39.97 kB / 1.259 GB, free: 10.01 MB / 0.9825 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.0004768/1.077, allocations: 264.4 kB / 1.259 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/1.077, allocations: 86.97 kB / 1.259 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/1.08, allocations: 1.202 MB / 1.26 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/1.08, allocations: 11.98 kB / 1.26 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.08, allocations: 0 / 1.26 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.08, allocations: 11.86 kB / 1.26 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/1.082, allocations: 0.9151 MB / 1.261 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/1.082, allocations: 0 / 1.261 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/1.082, allocations: 167.8 kB / 1.261 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/1.083, allocations: 68.78 kB / 1.261 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/1.083, allocations: 27.98 kB / 1.261 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/1.085, allocations: 1.681 MB / 1.263 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.085, allocations: 4.031 kB / 1.263 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/1.088, allocations: 0.9942 MB / 1.264 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/1.088, allocations: 287.6 kB / 1.264 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.088, allocations: 23.98 kB / 1.264 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/1.089, allocations: 71.92 kB / 1.264 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.089, allocations: 73.03 kB / 1.264 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/1.089, allocations: 39.97 kB / 1.264 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006515/1.09, allocations: 463 kB / 1.265 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/1.09, allocations: 0 / 1.265 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009187/1.091, allocations: 331.3 kB / 1.265 GB, free: 3.062 MB / 0.9825 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.002018/1.093, allocations: 0.6228 MB / 1.266 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003092/1.096, allocations: 1.112 MB / 1.267 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.096, allocations: 4 kB / 1.267 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.097, allocations: 0.5549 MB / 1.267 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.098, allocations: 309.4 kB / 1.268 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/1.102, allocations: 1.709 MB / 1.269 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/1.102, allocations: 1.02 MB / 1.27 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.103, allocations: 115.4 kB / 1.27 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.103, allocations: 0 / 1.27 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.0292/1.132, allocations: 18.94 MB / 1.289 GB, free: 10.88 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches