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.001017/0.001017, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006841/0.006841, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.507/2.507, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7457, allocations: 142.4 MB / 0.955 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004553/0.7503, allocations: 4.024 MB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1808/0.9312, allocations: 146.7 MB / 1.102 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.9328, allocations: 15.94 kB / 1.102 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.934, allocations: 134.9 kB / 1.102 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.9367, allocations: 446.9 kB / 1.103 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.939, allocations: 0.7257 MB / 1.103 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002121/0.9412, allocations: 1.249 MB / 1.105 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.9423, allocations: 0.5348 MB / 1.105 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.9431, allocations: 350.3 kB / 1.106 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007623/0.9439, allocations: 385.9 kB / 1.106 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.9441, allocations: 24 kB / 1.106 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.9458, allocations: 0.7684 MB / 1.107 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.9461, allocations: 187.1 kB / 1.107 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000606/0.9468, allocations: 454.9 kB / 1.107 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.9494, allocations: 1.639 MB / 1.109 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9494, allocations: 0 / 1.109 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9494, allocations: 0 / 1.109 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.69e-05/0.9495, allocations: 0 / 1.109 GB, free: 1.223 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.002823/0.9523, allocations: 1.248 MB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9523, allocations: 8.031 kB / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.9537, allocations: 219.4 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.955, allocations: 0.7389 MB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.9551, allocations: 58 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.9552, allocations: 76 kB / 1.111 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.9572, allocations: 0.8997 MB / 1.112 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.9573, allocations: 3.938 kB / 1.112 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.9574, allocations: 35.98 kB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.9574, allocations: 16 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.9597, allocations: 1.139 MB / 1.113 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.9643, allocations: 2.538 MB / 1.116 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.9661, allocations: 0.8439 MB / 1.117 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.9668, allocations: 350.7 kB / 1.117 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.347e-05/0.967, allocations: 24.61 kB / 1.117 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.9681, allocations: 0.5426 MB / 1.117 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.624e-06/0.9681, allocations: 0 / 1.117 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.004426/0.9725, allocations: 1.315 MB / 1.119 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.9728, allocations: 196.5 kB / 1.119 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.974, allocations: 0.6411 MB / 1.12 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.9741, allocations: 41.7 kB / 1.12 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.9746, allocations: 376.5 kB / 1.12 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.9749, allocations: 268.2 kB / 1.12 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.9751, allocations: 69.69 kB / 1.12 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.9753, allocations: 390.7 kB / 1.121 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/0.9762, allocations: 309.8 kB / 1.121 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.9773, allocations: 411.9 kB / 1.121 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.9791, allocations: 0.6783 MB / 1.122 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.9791, allocations: 4 kB / 1.122 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002563/0.9817, allocations: 0.9346 MB / 1.123 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.9817, allocations: 5.531 kB / 1.123 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.9817, allocations: 8 kB / 1.123 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/0.9824, allocations: 80.77 kB / 1.123 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/0.9832, allocations: 187.7 kB / 1.123 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.9856, allocations: 1.546 MB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/0.9866, allocations: 107.3 kB / 1.125 GB, free: 456 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.9868, allocations: 48.02 kB / 1.125 GB, free: 408 kB / 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.0005022/0.9873, allocations: 259.9 kB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.9875, allocations: 90.81 kB / 1.125 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.9908, allocations: 1.222 MB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.9909, allocations: 11.98 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.9909, allocations: 4 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9909, allocations: 3.984 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.9924, allocations: 0.915 MB / 1.127 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.9925, allocations: 0 / 1.127 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.9932, allocations: 175.8 kB / 1.127 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005691/0.9938, allocations: 80.78 kB / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.9939, allocations: 31.91 kB / 1.128 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.9963, allocations: 1.548 MB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9963, allocations: 0 / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.999, allocations: 1.021 MB / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000607/0.9996, allocations: 307.5 kB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.9998, allocations: 20 kB / 1.13 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/1.001, allocations: 92.47 kB / 1.13 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.001, allocations: 76.89 kB / 1.13 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/1.001, allocations: 35.97 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009206/1.002, allocations: 463 kB / 1.131 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 0 / 1.131 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001345/1.003, allocations: 319.3 kB / 1.131 GB, free: 9.504 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.002159/1.005, allocations: 0.6245 MB / 1.132 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002776/1.008, allocations: 0.9134 MB / 1.133 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.461e-05/1.008, allocations: 4 kB / 1.133 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.01, allocations: 0.5627 MB / 1.133 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.011, allocations: 278.4 kB / 1.134 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/1.016, allocations: 2.226 MB / 1.136 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/1.017, allocations: 1.016 MB / 1.137 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001103/1.018, allocations: 282.8 kB / 1.137 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/1.018, allocations: 111.4 kB / 1.137 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of SimCode: time 1.272e-06/1.018, allocations: 0 / 1.137 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of Templates: time 0.03203/1.05, allocations: 14.81 MB / 1.152 GB, free: 4.973 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