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.0009319/0.000932, 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.001189/0.001189, allocations: 182.1 kB / 16.92 MB, free: 6.922 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.548/1.548, allocations: 223.3 MB / 241 MB, free: 5.352 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.754/2.754, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003728, allocations: 15.98 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7921, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006036/0.7982, allocations: 4.286 MB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.9743, allocations: 146.7 MB / 1.171 GB, free: 8.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.9757, allocations: 15.94 kB / 1.171 GB, free: 8.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008943/0.9766, allocations: 146.8 kB / 1.171 GB, free: 8.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.979, allocations: 452.2 kB / 1.172 GB, free: 7.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.9815, allocations: 0.7279 MB / 1.172 GB, free: 7.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.9834, allocations: 1.303 MB / 1.174 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.9845, allocations: 0.496 MB / 1.174 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009073/0.9854, allocations: 358.4 kB / 1.175 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.9863, allocations: 390 kB / 1.175 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.9865, allocations: 31.98 kB / 1.175 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.9883, allocations: 0.7645 MB / 1.176 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.9887, allocations: 183.1 kB / 1.176 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.9894, allocations: 470.8 kB / 1.176 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.9913, allocations: 1.282 MB / 1.178 GB, free: 1.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9913, allocations: 0 / 1.178 GB, free: 1.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9913, allocations: 0 / 1.178 GB, free: 1.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.642e-05/0.9914, allocations: 0 / 1.178 GB, free: 1.75 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.00281/0.9942, allocations: 1.251 MB / 1.179 GB, free: 460 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.9943, allocations: 11.98 kB / 1.179 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.9954, allocations: 219.4 kB / 1.179 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.9965, allocations: 0.7429 MB / 1.18 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.9966, allocations: 54 kB / 1.18 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.9967, allocations: 79.98 kB / 1.18 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.9984, allocations: 0.8958 MB / 1.181 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.9985, allocations: 4 kB / 1.181 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.9985, allocations: 32 kB / 1.181 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.9986, allocations: 20 kB / 1.181 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/1.001, allocations: 1.143 MB / 1.182 GB, free: 13.17 MB / 0.9356 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.004226/1.005, allocations: 2.648 MB / 1.184 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/1.006, allocations: 0.847 MB / 1.185 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/1.007, allocations: 342.7 kB / 1.186 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/1.007, allocations: 28.61 kB / 1.186 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/1.008, allocations: 0.5435 MB / 1.186 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/1.008, allocations: 4 kB / 1.186 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003993/1.012, allocations: 1.311 MB / 1.187 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/1.013, allocations: 192.6 kB / 1.188 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.014, allocations: 0.641 MB / 1.188 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/1.014, allocations: 41.7 kB / 1.188 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/1.014, allocations: 372.6 kB / 1.189 GB, free: 6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/1.015, allocations: 272.1 kB / 1.189 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/1.015, allocations: 69.67 kB / 1.189 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002452/1.015, allocations: 394.7 kB / 1.189 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/1.016, allocations: 305.8 kB / 1.19 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/1.017, allocations: 407.9 kB / 1.19 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/1.018, allocations: 0.6862 MB / 1.191 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.018, allocations: 0 / 1.191 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002323/1.02, allocations: 0.9385 MB / 1.192 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.02, allocations: 4 kB / 1.192 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.02, allocations: 0 / 1.192 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/1.021, allocations: 92.83 kB / 1.192 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/1.022, allocations: 175.8 kB / 1.192 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/1.024, allocations: 1.536 MB / 1.193 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009219/1.025, allocations: 115.4 kB / 1.193 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/1.025, allocations: 35.97 kB / 1.194 GB, free: 0.8047 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 (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.0005219/1.026, allocations: 276.5 kB / 1.194 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.026, allocations: 86.91 kB / 1.194 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/1.029, allocations: 1.226 MB / 1.195 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.029, allocations: 8 kB / 1.195 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.029, allocations: 8 kB / 1.195 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.029, allocations: 3.984 kB / 1.195 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/1.03, allocations: 0.9151 MB / 1.196 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.03, allocations: 4 kB / 1.196 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/1.031, allocations: 163.8 kB / 1.196 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/1.031, allocations: 80.78 kB / 1.196 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/1.031, allocations: 35.91 kB / 1.196 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/1.033, allocations: 1.56 MB / 1.198 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.033, allocations: 0 / 1.198 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.035, allocations: 1.018 MB / 1.199 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/1.036, allocations: 303.6 kB / 1.199 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/1.036, allocations: 24 kB / 1.199 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/1.037, allocations: 94.3 kB / 1.199 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.037, allocations: 68.89 kB / 1.199 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/1.037, allocations: 39.97 kB / 1.199 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006213/1.038, allocations: 467 kB / 1.2 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.038, allocations: 0 / 1.2 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009465/1.039, allocations: 327.4 kB / 1.2 GB, free: 9.887 MB / 0.9512 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.001483/1.04, allocations: 0.6128 MB / 1.201 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002014/1.042, allocations: 0.925 MB / 1.202 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.042, allocations: 4 kB / 1.202 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.043, allocations: 0.5627 MB / 1.202 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.044, allocations: 274.2 kB / 1.202 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/1.048, allocations: 2.113 MB / 1.204 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/1.048, allocations: 1.016 MB / 1.205 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/1.049, allocations: 127.3 kB / 1.206 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of SimCode: time 1.242e-06/1.049, allocations: 4 kB / 1.206 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of Templates: time 0.03096/1.08, allocations: 18.81 MB / 1.224 GB, free: 1.625 MB / 0.9669 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches