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.008477/0.008477, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001696/0.001696, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.365/2.365, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.88 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9147/0.916, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006006/0.9221, allocations: 4.429 MB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2025/1.125, allocations: 150.6 MB / 1.239 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/1.126, allocations: 19.41 kB / 1.239 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009061/1.127, allocations: 184.9 kB / 1.239 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/1.129, allocations: 0.5085 MB / 1.24 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/1.132, allocations: 0.8354 MB / 1.241 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002036/1.134, allocations: 1.347 MB / 1.242 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/1.135, allocations: 0.5582 MB / 1.243 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/1.136, allocations: 479.9 kB / 1.243 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009036/1.137, allocations: 486.8 kB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002913/1.137, allocations: 109.3 kB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/1.139, allocations: 0.878 MB / 1.244 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/1.14, allocations: 287.1 kB / 1.245 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006624/1.14, allocations: 0.5207 MB / 1.245 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/1.143, allocations: 1.778 MB / 1.247 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.143, allocations: 0 / 1.247 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.665e-06/1.143, allocations: 3.984 kB / 1.247 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.319e-05/1.143, allocations: 4 kB / 1.247 GB, free: 10.73 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.003016/1.146, allocations: 1.442 MB / 1.248 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.146, allocations: 8.031 kB / 1.248 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/1.148, allocations: 207.5 kB / 1.249 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/1.149, allocations: 0.7624 MB / 1.249 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/1.149, allocations: 58 kB / 1.249 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.149, allocations: 68 kB / 1.25 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.151, allocations: 0.8919 MB / 1.25 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.151, allocations: 3.938 kB / 1.25 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/1.151, allocations: 35.94 kB / 1.25 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/1.151, allocations: 24 kB / 1.25 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/1.153, allocations: 1.124 MB / 1.252 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/1.157, allocations: 2.473 MB / 1.254 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.158, allocations: 0.8253 MB / 1.255 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/1.159, allocations: 342.5 kB / 1.255 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.333e-05/1.159, allocations: 36.59 kB / 1.255 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009902/1.16, allocations: 0.5264 MB / 1.256 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/1.16, allocations: 0 / 1.256 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003522/1.164, allocations: 1.289 MB / 1.257 GB, free: 376 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.164, allocations: 188.6 kB / 1.257 GB, free: 144 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/1.165, allocations: 0.641 MB / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/1.165, allocations: 53.69 kB / 1.258 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/1.165, allocations: 368.6 kB / 1.258 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/1.165, allocations: 264.2 kB / 1.258 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.165, allocations: 174.4 kB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.166, allocations: 390.7 kB / 1.259 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/1.166, allocations: 297.8 kB / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/1.167, allocations: 399.9 kB / 1.26 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/1.168, allocations: 0.6705 MB / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.168, allocations: 0 / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002254/1.171, allocations: 0.9268 MB / 1.261 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.171, allocations: 4 kB / 1.261 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.171, allocations: 3.984 kB / 1.261 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/1.171, allocations: 80.91 kB / 1.261 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/1.172, allocations: 183.7 kB / 1.261 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/1.174, allocations: 1.654 MB / 1.263 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/1.175, allocations: 101.7 kB / 1.263 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/1.175, allocations: 40.03 kB / 1.263 GB, free: 9.707 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.0004273/1.175, allocations: 267.9 kB / 1.263 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/1.176, allocations: 82.97 kB / 1.263 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/1.178, allocations: 1.21 MB / 1.265 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.178, allocations: 8 kB / 1.265 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/1.178, allocations: 0 / 1.265 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.178, allocations: 7.922 kB / 1.265 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/1.18, allocations: 0.9074 MB / 1.266 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/1.18, allocations: 0 / 1.266 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/1.18, allocations: 159.8 kB / 1.266 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/1.181, allocations: 76.78 kB / 1.266 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/1.181, allocations: 35.91 kB / 1.266 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.183, allocations: 1.658 MB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.183, allocations: 4.031 kB / 1.267 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/1.185, allocations: 1.01 MB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/1.185, allocations: 283.7 kB / 1.269 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.185, allocations: 24 kB / 1.269 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/1.186, allocations: 63.92 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.186, allocations: 76.89 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/1.186, allocations: 39.97 kB / 1.269 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006113/1.187, allocations: 459 kB / 1.269 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.187, allocations: 4 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009718/1.188, allocations: 335.2 kB / 1.27 GB, free: 2.773 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.001474/1.189, allocations: 0.6255 MB / 1.27 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001984/1.191, allocations: 0.8937 MB / 1.271 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.191, allocations: 0 / 1.271 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.192, allocations: 0.5667 MB / 1.272 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.194, allocations: 300.3 kB / 1.272 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/1.198, allocations: 1.745 MB / 1.274 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/1.199, allocations: 1.02 MB / 1.275 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001006/1.2, allocations: 278.8 kB / 1.275 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/1.2, allocations: 111.4 kB / 1.275 GB, free: 13.36 MB / 1.014 GB Notification: Performance of SimCode: time 1.373e-06/1.2, allocations: 0 / 1.275 GB, free: 13.36 MB / 1.014 GB Notification: Performance of Templates: time 0.02772/1.228, allocations: 15.74 MB / 1.29 GB, free: 13.78 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