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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001532/0.001532, allocations: 106.5 kB / 16.41 MB, free: 5.977 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.00164/0.00164, allocations: 186 kB / 17.34 MB, free: 5.586 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 55.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8983, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006164/0.9045, allocations: 4.435 MB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2037/1.108, allocations: 150.6 MB / 1.24 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/1.11, allocations: 20.03 kB / 1.24 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009763/1.111, allocations: 183.4 kB / 1.24 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002765/1.114, allocations: 0.5063 MB / 1.241 GB, free: 352 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/1.116, allocations: 0.8364 MB / 1.241 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002191/1.119, allocations: 1.348 MB / 1.243 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/1.12, allocations: 0.5697 MB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/1.121, allocations: 476.6 kB / 1.244 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/1.122, allocations: 482 kB / 1.244 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003905/1.122, allocations: 109.9 kB / 1.244 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/1.125, allocations: 0.8784 MB / 1.245 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/1.125, allocations: 287.1 kB / 1.245 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006495/1.126, allocations: 0.5168 MB / 1.246 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/1.129, allocations: 1.778 MB / 1.248 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.129, allocations: 4 kB / 1.248 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.485e-06/1.129, allocations: 0 / 1.248 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.914e-05/1.129, allocations: 0 / 1.248 GB, free: 10.77 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.002504/1.131, allocations: 1.446 MB / 1.249 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.131, allocations: 8.031 kB / 1.249 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.132, allocations: 203.5 kB / 1.249 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/1.134, allocations: 0.7663 MB / 1.25 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/1.134, allocations: 54 kB / 1.25 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/1.134, allocations: 72 kB / 1.25 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/1.135, allocations: 0.8957 MB / 1.251 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.135, allocations: 4 kB / 1.251 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/1.135, allocations: 39.92 kB / 1.251 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/1.135, allocations: 20 kB / 1.251 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.137, allocations: 1.124 MB / 1.252 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/1.141, allocations: 2.466 MB / 1.255 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.143, allocations: 0.8274 MB / 1.255 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/1.143, allocations: 334.7 kB / 1.256 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.148e-05/1.143, allocations: 36.59 kB / 1.256 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/1.145, allocations: 0.5301 MB / 1.256 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/1.145, allocations: 4 kB / 1.256 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003536/1.148, allocations: 1.293 MB / 1.258 GB, free: 404 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.148, allocations: 188.6 kB / 1.258 GB, free: 172 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/1.149, allocations: 0.6449 MB / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/1.149, allocations: 41.7 kB / 1.258 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/1.149, allocations: 376.6 kB / 1.259 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/1.15, allocations: 264.2 kB / 1.259 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.15, allocations: 174.4 kB / 1.259 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.15, allocations: 390.7 kB / 1.26 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/1.151, allocations: 301.8 kB / 1.26 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/1.152, allocations: 399.9 kB / 1.26 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.153, allocations: 0.6705 MB / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.153, allocations: 4 kB / 1.261 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002221/1.155, allocations: 0.9189 MB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.155, allocations: 8 kB / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.155, allocations: 3.984 kB / 1.262 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/1.156, allocations: 84.89 kB / 1.262 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/1.157, allocations: 171.8 kB / 1.262 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.159, allocations: 1.656 MB / 1.264 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/1.16, allocations: 102.2 kB / 1.264 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/1.16, allocations: 39.97 kB / 1.264 GB, free: 9.738 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.0004878/1.16, allocations: 268 kB / 1.264 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.16, allocations: 90.95 kB / 1.264 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/1.163, allocations: 1.202 MB / 1.265 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.163, allocations: 12 kB / 1.265 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.163, allocations: 0 / 1.265 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.163, allocations: 7.922 kB / 1.265 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.164, allocations: 0.9035 MB / 1.266 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.164, allocations: 0 / 1.266 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/1.165, allocations: 163.8 kB / 1.266 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/1.165, allocations: 80.72 kB / 1.266 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/1.165, allocations: 23.98 kB / 1.266 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.167, allocations: 1.67 MB / 1.268 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.167, allocations: 0 / 1.268 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/1.17, allocations: 1.006 MB / 1.269 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/1.17, allocations: 283.7 kB / 1.269 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/1.17, allocations: 23.92 kB / 1.269 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/1.171, allocations: 71.92 kB / 1.269 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.171, allocations: 72.89 kB / 1.27 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/1.171, allocations: 39.97 kB / 1.27 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005696/1.172, allocations: 463 kB / 1.27 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.172, allocations: 0 / 1.27 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009091/1.173, allocations: 331.2 kB / 1.27 GB, free: 2.805 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.001447/1.174, allocations: 0.6133 MB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.176, allocations: 0.8976 MB / 1.272 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.176, allocations: 0 / 1.272 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.177, allocations: 0.5629 MB / 1.272 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/1.179, allocations: 305.9 kB / 1.273 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/1.183, allocations: 1.788 MB / 1.274 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/1.184, allocations: 1.02 MB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/1.184, allocations: 123.4 kB / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of SimCode: time 1.312e-06/1.184, allocations: 0 / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of Templates: time 0.02813/1.212, allocations: 18.97 MB / 1.294 GB, free: 10.71 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches