Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.000997/0.0009966, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001292/0.001292, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437.8 MB / 0.7117 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.736, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005248/0.7413, allocations: 4.052 MB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1572/0.8986, allocations: 136.8 MB / 1.16 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.8996, allocations: 19.88 kB / 1.16 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.9004, allocations: 138.9 kB / 1.16 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.9026, allocations: 444.6 kB / 1.161 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.9052, allocations: 0.6319 MB / 1.161 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002537/0.9078, allocations: 1.194 MB / 1.162 GB, free: 348 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.9088, allocations: 390.8 kB / 1.163 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000931/0.9098, allocations: 342.5 kB / 1.163 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000523/0.9103, allocations: 379.7 kB / 1.163 GB, free: 15.24 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.9104, allocations: 24 kB / 1.163 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.9119, allocations: 0.7293 MB / 1.164 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.9122, allocations: 183.2 kB / 1.164 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.9124, allocations: 197.1 kB / 1.164 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.9138, allocations: 1.282 MB / 1.166 GB, free: 12.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.9138, allocations: 4 kB / 1.166 GB, free: 12.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9139, allocations: 0 / 1.166 GB, free: 12.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.9139, allocations: 0 / 1.166 GB, free: 12.82 MB / 0.92 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.002295/0.9162, allocations: 1.259 MB / 1.167 GB, free: 11.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.9162, allocations: 16.52 kB / 1.167 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.9173, allocations: 210.5 kB / 1.167 GB, free: 11.28 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.9183, allocations: 0.7194 MB / 1.168 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.9184, allocations: 57.98 kB / 1.168 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.9185, allocations: 76 kB / 1.168 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.9201, allocations: 0.8997 MB / 1.169 GB, free: 9.445 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.9201, allocations: 0 / 1.169 GB, free: 9.445 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.9202, allocations: 32 kB / 1.169 GB, free: 9.414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.9202, allocations: 16 kB / 1.169 GB, free: 9.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.9221, allocations: 1.139 MB / 1.17 GB, free: 8.258 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.9259, allocations: 2.644 MB / 1.173 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.9275, allocations: 0.8352 MB / 1.173 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.9281, allocations: 338.7 kB / 1.174 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.964e-05/0.9282, allocations: 32.59 kB / 1.174 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009595/0.9292, allocations: 0.5349 MB / 1.174 GB, free: 3.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.454e-06/0.9292, allocations: 0 / 1.174 GB, free: 3.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003145/0.9323, allocations: 1.315 MB / 1.176 GB, free: 2.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.9324, allocations: 188.6 kB / 1.176 GB, free: 2.195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000743/0.9332, allocations: 0.641 MB / 1.176 GB, free: 1.543 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.9332, allocations: 41.7 kB / 1.176 GB, free: 1.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.9335, allocations: 376.5 kB / 1.177 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.9337, allocations: 264.2 kB / 1.177 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.9338, allocations: 12 kB / 1.177 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.9339, allocations: 394.7 kB / 1.177 GB, free: 464 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.9346, allocations: 301.8 kB / 1.178 GB, free: 160 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.9353, allocations: 403.9 kB / 1.178 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.936, allocations: 346.8 kB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.936, allocations: 0 / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001986/0.938, allocations: 0.9385 MB / 1.179 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.938, allocations: 4 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.938, allocations: 4 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/0.9385, allocations: 84.89 kB / 1.179 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.9393, allocations: 171.8 kB / 1.18 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.9411, allocations: 1.553 MB / 1.181 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.9418, allocations: 111.4 kB / 1.181 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.9419, allocations: 39.97 kB / 1.181 GB, free: 12.36 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003689/0.9422, allocations: 263.9 kB / 1.182 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.9424, allocations: 86.92 kB / 1.182 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.9451, allocations: 1.233 MB / 1.183 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.9451, allocations: 12 kB / 1.183 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.9451, allocations: 0 / 1.183 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.9451, allocations: 3.984 kB / 1.183 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.9462, allocations: 0.919 MB / 1.184 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.9462, allocations: 0 / 1.184 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.9468, allocations: 159.8 kB / 1.184 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.9473, allocations: 88.77 kB / 1.184 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.9474, allocations: 27.97 kB / 1.184 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.949, allocations: 1.56 MB / 1.185 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.949, allocations: 0 / 1.185 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.9511, allocations: 1.018 MB / 1.186 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.9515, allocations: 299.5 kB / 1.187 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.9516, allocations: 19.98 kB / 1.187 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006319/0.9523, allocations: 98.31 kB / 1.187 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.9524, allocations: 72.89 kB / 1.187 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.9525, allocations: 39.97 kB / 1.187 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005753/0.9531, allocations: 451 kB / 1.187 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9531, allocations: 4 kB / 1.187 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00093/0.9541, allocations: 327.4 kB / 1.188 GB, free: 5.461 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001488/0.9556, allocations: 0.6143 MB / 1.188 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.9574, allocations: 0.9134 MB / 1.189 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9575, allocations: 4 kB / 1.189 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009984/0.9585, allocations: 0.5627 MB / 1.19 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.9595, allocations: 261 kB / 1.19 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.9627, allocations: 2.033 MB / 1.192 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.9633, allocations: 1.02 MB / 1.193 GB, free: 160 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009117/0.9642, allocations: 274.8 kB / 1.193 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.9646, allocations: 115.4 kB / 1.193 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.9646, allocations: 0 / 1.193 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.02624/0.9908, allocations: 14.63 MB / 1.208 GB, free: 1.324 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches