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.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001373/0.001373, allocations: 195 kB / 16.14 MB, free: 6.648 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.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.445/2.445, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/0.7473, allocations: 140.3 MB / 0.9489 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005501/0.7529, allocations: 4.448 MB / 0.9532 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.9379, allocations: 148.3 MB / 1.098 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009823/0.9389, allocations: 23.81 kB / 1.098 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.9396, allocations: 134.9 kB / 1.098 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.9415, allocations: 437.3 kB / 1.099 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.9436, allocations: 0.7176 MB / 1.099 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.9451, allocations: 1.249 MB / 1.101 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000865/0.946, allocations: 0.5503 MB / 1.101 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.9466, allocations: 394.4 kB / 1.101 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.9472, allocations: 466.6 kB / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.9473, allocations: 48 kB / 1.102 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.9488, allocations: 0.7802 MB / 1.103 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.9491, allocations: 227 kB / 1.103 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.9495, allocations: 481.2 kB / 1.103 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.9517, allocations: 1.679 MB / 1.105 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9517, allocations: 0 / 1.105 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.81e-07/0.9517, allocations: 0 / 1.105 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.9517, allocations: 0 / 1.105 GB, free: 1.691 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.002868/0.9546, allocations: 1.446 MB / 1.106 GB, free: 200 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.9547, allocations: 12.03 kB / 1.106 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.9559, allocations: 203.4 kB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.9569, allocations: 0.7468 MB / 1.107 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.957, allocations: 58 kB / 1.107 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.9571, allocations: 72 kB / 1.107 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.9588, allocations: 0.8918 MB / 1.108 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9589, allocations: 0 / 1.108 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-05/0.959, allocations: 32 kB / 1.108 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.959, allocations: 20 kB / 1.108 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.961, allocations: 1.132 MB / 1.109 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.9654, allocations: 2.506 MB / 1.112 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.9671, allocations: 0.8332 MB / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/0.9678, allocations: 326.7 kB / 1.113 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.009e-05/0.9679, allocations: 32.59 kB / 1.113 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.9691, allocations: 0.5424 MB / 1.114 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.9691, allocations: 0 / 1.114 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003706/0.9729, allocations: 1.28 MB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.973, allocations: 192.6 kB / 1.115 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.9739, allocations: 0.6411 MB / 1.116 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.974, allocations: 45.7 kB / 1.116 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.9744, allocations: 380.5 kB / 1.116 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.9746, allocations: 260.2 kB / 1.116 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.9748, allocations: 170.5 kB / 1.117 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.9751, allocations: 398.7 kB / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.9757, allocations: 297.8 kB / 1.117 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.9765, allocations: 395.9 kB / 1.118 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.9779, allocations: 0.6666 MB / 1.118 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.978, allocations: 4 kB / 1.118 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002417/0.9804, allocations: 0.9267 MB / 1.119 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.9804, allocations: 4 kB / 1.119 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9804, allocations: 3.938 kB / 1.119 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.9811, allocations: 84.89 kB / 1.119 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.9818, allocations: 179.7 kB / 1.119 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.9841, allocations: 1.539 MB / 1.121 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/0.985, allocations: 103.2 kB / 1.121 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.9851, allocations: 44.03 kB / 1.121 GB, free: 0.7578 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.0004902/0.9856, allocations: 259.9 kB / 1.121 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.9858, allocations: 86.91 kB / 1.121 GB, free: 416 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.9888, allocations: 1.202 MB / 1.123 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.9888, allocations: 11.98 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9888, allocations: 0 / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.9889, allocations: 11.98 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.9901, allocations: 0.9228 MB / 1.123 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9901, allocations: 0 / 1.123 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.9908, allocations: 155.8 kB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/0.9913, allocations: 84.77 kB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.9914, allocations: 31.98 kB / 1.124 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.9933, allocations: 1.559 MB / 1.125 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.9933, allocations: 0 / 1.125 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.9956, allocations: 1.006 MB / 1.126 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.996, allocations: 283.6 kB / 1.126 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.9962, allocations: 23.91 kB / 1.126 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.9968, allocations: 73.8 kB / 1.127 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.997, allocations: 76.88 kB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.9971, allocations: 35.98 kB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005841/0.9977, allocations: 463 kB / 1.127 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9977, allocations: 0 / 1.127 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008701/0.9986, allocations: 319.4 kB / 1.127 GB, free: 9.934 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.001415/1, allocations: 0.6222 MB / 1.128 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.002, allocations: 0.9016 MB / 1.129 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.002, allocations: 0 / 1.129 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/1.003, allocations: 0.551 MB / 1.129 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/1.004, allocations: 266 kB / 1.13 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/1.008, allocations: 2.162 MB / 1.132 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/1.009, allocations: 1.016 MB / 1.133 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001026/1.01, allocations: 298.8 kB / 1.133 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/1.01, allocations: 115.4 kB / 1.133 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of SimCode: time 1.583e-06/1.01, allocations: 0 / 1.133 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of Templates: time 0.02561/1.036, allocations: 14.9 MB / 1.148 GB, free: 5.383 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/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