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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001468/0.001468, allocations: 107.6 kB / 15.99 MB, free: 6.359 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.001772/0.001772, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 469.4 MB / 0.7424 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.12 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00675/0.3235, allocations: 4.701 MB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7616/1.085, allocations: 148.4 MB / 1.213 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009163/1.086, allocations: 15.31 kB / 1.213 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007069/1.087, allocations: 139.2 kB / 1.213 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001988/1.089, allocations: 479.1 kB / 1.214 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002165/1.091, allocations: 0.7495 MB / 1.215 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001993/1.093, allocations: 1.38 MB / 1.216 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/1.094, allocations: 0.5304 MB / 1.216 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00096/1.095, allocations: 483.5 kB / 1.217 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/1.096, allocations: 0.4887 MB / 1.217 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003222/1.096, allocations: 110.8 kB / 1.217 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/1.098, allocations: 0.8468 MB / 1.218 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003916/1.099, allocations: 284.2 kB / 1.219 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000825/1.099, allocations: 0.5334 MB / 1.219 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001977/1.101, allocations: 1.326 MB / 1.22 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.101, allocations: 0 / 1.22 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.993e-06/1.101, allocations: 0 / 1.22 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.826e-05/1.101, allocations: 0 / 1.22 GB, free: 7.102 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.003803/1.105, allocations: 1.458 MB / 1.222 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.105, allocations: 11.59 kB / 1.222 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/1.107, allocations: 199.8 kB / 1.222 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.108, allocations: 0.7475 MB / 1.223 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/1.108, allocations: 55.47 kB / 1.223 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/1.109, allocations: 73.56 kB / 1.223 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/1.111, allocations: 0.8945 MB / 1.224 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/1.111, allocations: 0 / 1.224 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.111, allocations: 32.47 kB / 1.224 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.111, allocations: 26.5 kB / 1.224 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/1.113, allocations: 1.129 MB / 1.225 GB, free: 4.031 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.004835/1.118, allocations: 2.605 MB / 1.227 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/1.12, allocations: 0.8352 MB / 1.228 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/1.121, allocations: 338.6 kB / 1.229 GB, free: 456 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/1.121, allocations: 24.62 kB / 1.229 GB, free: 432 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/1.122, allocations: 0.5357 MB / 1.229 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/1.122, allocations: 0 / 1.229 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003914/1.126, allocations: 1.287 MB / 1.23 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.126, allocations: 196.5 kB / 1.231 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/1.127, allocations: 0.6449 MB / 1.231 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-05/1.127, allocations: 37.7 kB / 1.231 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/1.127, allocations: 380.5 kB / 1.232 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/1.128, allocations: 268.2 kB / 1.232 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/1.128, allocations: 170.5 kB / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.128, allocations: 390.5 kB / 1.232 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/1.129, allocations: 297.8 kB / 1.233 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/1.13, allocations: 403.9 kB / 1.233 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/1.131, allocations: 0.6705 MB / 1.234 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.131, allocations: 0 / 1.234 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002499/1.134, allocations: 0.919 MB / 1.235 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.134, allocations: 7.938 kB / 1.235 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.134, allocations: 0 / 1.235 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/1.135, allocations: 88.89 kB / 1.235 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/1.135, allocations: 179.7 kB / 1.235 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/1.138, allocations: 1.647 MB / 1.236 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/1.139, allocations: 101.6 kB / 1.237 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.139, allocations: 39.97 kB / 1.237 GB, free: 7.895 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.0005635/1.139, allocations: 271.9 kB / 1.237 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/1.14, allocations: 86.97 kB / 1.237 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/1.143, allocations: 1.209 MB / 1.238 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.143, allocations: 15.98 kB / 1.238 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.143, allocations: 0 / 1.238 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.143, allocations: 3.984 kB / 1.238 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.144, allocations: 0.915 MB / 1.239 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.144, allocations: 0 / 1.239 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/1.145, allocations: 167.8 kB / 1.239 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/1.146, allocations: 68.78 kB / 1.239 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/1.146, allocations: 27.98 kB / 1.239 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/1.148, allocations: 1.67 MB / 1.241 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.148, allocations: 3.938 kB / 1.241 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/1.15, allocations: 0.9981 MB / 1.242 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/1.151, allocations: 279.7 kB / 1.242 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.151, allocations: 27.92 kB / 1.242 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/1.152, allocations: 71.92 kB / 1.242 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.152, allocations: 80.83 kB / 1.242 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/1.152, allocations: 35.97 kB / 1.242 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006899/1.153, allocations: 463 kB / 1.243 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/1.153, allocations: 0 / 1.243 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001105/1.154, allocations: 335 kB / 1.243 GB, free: 0.9492 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.001677/1.156, allocations: 0.6179 MB / 1.244 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003008/1.159, allocations: 1.113 MB / 1.245 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.159, allocations: 0 / 1.245 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/1.16, allocations: 0.5588 MB / 1.245 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.162, allocations: 306.9 kB / 1.246 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/1.165, allocations: 2.098 MB / 1.248 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/1.166, allocations: 1.024 MB / 1.249 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/1.166, allocations: 115.4 kB / 1.249 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/1.166, allocations: 7.938 kB / 1.249 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.02811/1.195, allocations: 18.94 MB / 1.267 GB, free: 8.371 MB / 0.9825 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=480 -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