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.001469/0.001469, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.00117/0.00117, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.299/1.299, allocations: 222.9 MB / 240.6 MB, free: 15.27 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.148/2.148, allocations: 390.3 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 60.94 kB / 0.8127 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2764, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006575/0.283, allocations: 4.446 MB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6617/0.9447, allocations: 148.3 MB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.9456, allocations: 15.97 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.9462, allocations: 137.9 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.9478, allocations: 459.6 kB / 1.1 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.9497, allocations: 0.7395 MB / 1.1 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.9515, allocations: 1.349 MB / 1.102 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.9524, allocations: 0.5543 MB / 1.102 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.9532, allocations: 475.6 kB / 1.103 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.954, allocations: 494 kB / 1.103 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.9542, allocations: 109.8 kB / 1.103 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.956, allocations: 0.8449 MB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.9564, allocations: 287.2 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000593/0.957, allocations: 0.5215 MB / 1.105 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.9591, allocations: 1.321 MB / 1.106 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9591, allocations: 0.7969 kB / 1.106 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9591, allocations: 1.094 kB / 1.106 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.9591, allocations: 0 / 1.106 GB, free: 5.031 MB / 0.8575 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.003005/0.9621, allocations: 1.441 MB / 1.107 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.9622, allocations: 10.7 kB / 1.107 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.9634, allocations: 210.4 kB / 1.108 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.9646, allocations: 0.7371 MB / 1.108 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.9647, allocations: 58.09 kB / 1.108 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.9648, allocations: 77.31 kB / 1.109 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.9665, allocations: 0.8987 MB / 1.109 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.9665, allocations: 0 / 1.109 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.9666, allocations: 34.03 kB / 1.109 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.9667, allocations: 22.16 kB / 1.109 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.9687, allocations: 1.125 MB / 1.111 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.9731, allocations: 2.512 MB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.9748, allocations: 0.8283 MB / 1.114 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/0.9756, allocations: 332.6 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.9757, allocations: 32.42 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.9768, allocations: 0.5316 MB / 1.115 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.756e-06/0.9768, allocations: 1.094 kB / 1.115 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003816/0.9807, allocations: 1.286 MB / 1.116 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.9808, allocations: 195.3 kB / 1.116 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.9819, allocations: 0.6361 MB / 1.117 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.647e-05/0.982, allocations: 41.23 kB / 1.117 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.9823, allocations: 387 kB / 1.117 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.9825, allocations: 263.5 kB / 1.117 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.9828, allocations: 171.5 kB / 1.118 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9829, allocations: 384.8 kB / 1.118 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.9836, allocations: 304.5 kB / 1.118 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.9844, allocations: 401.5 kB / 1.119 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.9859, allocations: 0.6729 MB / 1.119 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9859, allocations: 0.5 kB / 1.119 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002499/0.9884, allocations: 0.9201 MB / 1.12 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9884, allocations: 5.562 kB / 1.12 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9884, allocations: 1.922 kB / 1.12 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.9891, allocations: 86.17 kB / 1.12 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.9899, allocations: 177.8 kB / 1.12 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.9921, allocations: 1.654 MB / 1.122 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.9931, allocations: 97.81 kB / 1.122 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.9932, allocations: 44.81 kB / 1.122 GB, free: 15.64 MB / 0.8731 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.0006103/0.9939, allocations: 266.1 kB / 1.122 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.9942, allocations: 91.59 kB / 1.123 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.9971, allocations: 1.199 MB / 1.124 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.9971, allocations: 9.438 kB / 1.124 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9972, allocations: 0 / 1.124 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9972, allocations: 6.656 kB / 1.124 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.9984, allocations: 0.919 MB / 1.125 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.9985, allocations: 0 / 1.125 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.9991, allocations: 167.9 kB / 1.125 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.9996, allocations: 71.42 kB / 1.125 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.9997, allocations: 30.95 kB / 1.125 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/1.002, allocations: 1.671 MB / 1.126 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.002, allocations: 6.422 kB / 1.126 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/1.004, allocations: 1 MB / 1.127 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/1.005, allocations: 288.5 kB / 1.128 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/1.005, allocations: 22.66 kB / 1.128 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/1.006, allocations: 71.52 kB / 1.128 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.006, allocations: 77.09 kB / 1.128 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/1.006, allocations: 36.69 kB / 1.128 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000675/1.007, allocations: 463 kB / 1.128 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/1.007, allocations: 0 / 1.128 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001173/1.008, allocations: 314.1 kB / 1.129 GB, free: 13.21 MB / 0.8731 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.001582/1.009, allocations: 0.6277 MB / 1.129 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002949/1.012, allocations: 1.117 MB / 1.13 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.012, allocations: 1.438 kB / 1.13 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.013, allocations: 0.558 MB / 1.131 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.015, allocations: 294.4 kB / 1.131 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/1.019, allocations: 2.198 MB / 1.133 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/1.02, allocations: 1.012 MB / 1.134 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/1.02, allocations: 125.9 kB / 1.134 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of SimCode: time 1.002e-06/1.02, allocations: 1.062 kB / 1.134 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.0319/1.052, allocations: 18.86 MB / 1.153 GB, free: 5.012 MB / 0.8731 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