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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001099/0.0011, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001528, allocations: 176.9 kB / 16.92 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7915, allocations: 142.4 MB / 0.9557 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004848/0.7964, allocations: 4.023 MB / 0.9596 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.9724, allocations: 146.7 MB / 1.103 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.9737, allocations: 11.94 kB / 1.103 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008209/0.9745, allocations: 150.8 kB / 1.103 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.9768, allocations: 445.5 kB / 1.103 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.9791, allocations: 0.7197 MB / 1.104 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.981, allocations: 1.253 MB / 1.105 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.9821, allocations: 0.5309 MB / 1.106 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.9829, allocations: 350.3 kB / 1.106 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.9836, allocations: 391.8 kB / 1.107 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.9838, allocations: 28 kB / 1.107 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.9856, allocations: 0.7567 MB / 1.107 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.986, allocations: 191.1 kB / 1.108 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007689/0.9867, allocations: 458.9 kB / 1.108 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.9886, allocations: 1.274 MB / 1.109 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9887, allocations: 0 / 1.109 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.265e-06/0.9887, allocations: 0 / 1.109 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.367e-05/0.9887, allocations: 0 / 1.109 GB, free: 1.562 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.003038/0.9918, allocations: 1.252 MB / 1.11 GB, free: 268 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.9918, allocations: 8.031 kB / 1.11 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.9932, allocations: 219.4 kB / 1.111 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.9947, allocations: 0.7351 MB / 1.111 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.9947, allocations: 61.94 kB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.9949, allocations: 72 kB / 1.111 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.9969, allocations: 0.9036 MB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.9969, allocations: 4 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.997, allocations: 35.98 kB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.997, allocations: 16 kB / 1.112 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.9991, allocations: 1.139 MB / 1.114 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/1.003, allocations: 2.537 MB / 1.116 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/1.005, allocations: 0.8362 MB / 1.117 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/1.006, allocations: 350.7 kB / 1.117 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/1.006, allocations: 28.55 kB / 1.117 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/1.007, allocations: 0.5425 MB / 1.118 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.387e-06/1.007, allocations: 0 / 1.118 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003758/1.011, allocations: 1.315 MB / 1.119 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.011, allocations: 188.6 kB / 1.119 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009631/1.012, allocations: 0.6449 MB / 1.12 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/1.012, allocations: 45.7 kB / 1.12 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/1.012, allocations: 376.5 kB / 1.12 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/1.012, allocations: 264.2 kB / 1.12 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.013, allocations: 69.67 kB / 1.121 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.013, allocations: 394.7 kB / 1.121 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/1.014, allocations: 309.8 kB / 1.121 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/1.014, allocations: 407.9 kB / 1.122 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.016, allocations: 0.6823 MB / 1.122 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.016, allocations: 4 kB / 1.122 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0024/1.018, allocations: 0.9346 MB / 1.123 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.018, allocations: 4 kB / 1.123 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.018, allocations: 0 / 1.123 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/1.019, allocations: 88.89 kB / 1.123 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/1.02, allocations: 187.7 kB / 1.123 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/1.022, allocations: 1.535 MB / 1.125 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/1.023, allocations: 107.4 kB / 1.125 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.023, allocations: 43.97 kB / 1.125 GB, free: 0.75 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.000551/1.024, allocations: 272 kB / 1.125 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/1.024, allocations: 90.81 kB / 1.125 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/1.027, allocations: 1.222 MB / 1.127 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.027, allocations: 11.94 kB / 1.127 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.027, allocations: 0 / 1.127 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.027, allocations: 3.984 kB / 1.127 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/1.029, allocations: 0.9111 MB / 1.128 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.029, allocations: 3.938 kB / 1.128 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/1.029, allocations: 171.8 kB / 1.128 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005522/1.03, allocations: 84.77 kB / 1.128 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/1.03, allocations: 31.97 kB / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/1.032, allocations: 1.556 MB / 1.129 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.032, allocations: 0 / 1.129 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/1.034, allocations: 1.021 MB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/1.035, allocations: 303.5 kB / 1.131 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.035, allocations: 20 kB / 1.131 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007764/1.036, allocations: 97.69 kB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.036, allocations: 76.89 kB / 1.131 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/1.036, allocations: 35.97 kB / 1.131 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000704/1.037, allocations: 463 kB / 1.131 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.037, allocations: 0 / 1.131 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001027/1.038, allocations: 319.3 kB / 1.132 GB, free: 9.84 MB / 0.8887 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.001666/1.04, allocations: 0.6221 MB / 1.132 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002222/1.042, allocations: 0.9173 MB / 1.133 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.042, allocations: 4 kB / 1.133 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/1.043, allocations: 0.5627 MB / 1.134 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.044, allocations: 269.8 kB / 1.134 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/1.049, allocations: 2.263 MB / 1.136 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/1.05, allocations: 1.012 MB / 1.137 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/1.05, allocations: 131.3 kB / 1.137 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of SimCode: time 1.082e-06/1.05, allocations: 0 / 1.137 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of Templates: time 0.03013/1.081, allocations: 18.75 MB / 1.156 GB, free: 1.5 MB / 0.9044 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