Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001497/0.001497, allocations: 115.2 kB / 16.37 MB, free: 5.984 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.001625/0.001625, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 58.47 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3036, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007031/0.3107, allocations: 4.704 MB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.641/0.9518, allocations: 150.6 MB / 1.178 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.9526, allocations: 15.59 kB / 1.178 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.9534, allocations: 180.8 kB / 1.179 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.9554, allocations: 0.5273 MB / 1.179 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.9575, allocations: 0.8436 MB / 1.18 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.9592, allocations: 1.39 MB / 1.181 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008635/0.9601, allocations: 0.5327 MB / 1.182 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007825/0.9609, allocations: 476.4 kB / 1.182 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.9615, allocations: 0.4918 MB / 1.183 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.9617, allocations: 109.3 kB / 1.183 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.9633, allocations: 0.8712 MB / 1.184 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.9636, allocations: 285.3 kB / 1.184 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.9641, allocations: 0.524 MB / 1.184 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.9663, allocations: 1.791 MB / 1.186 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9663, allocations: 0 / 1.186 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9663, allocations: 8.781 kB / 1.186 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.033e-05/0.9663, allocations: 0 / 1.186 GB, free: 1.941 MB / 0.8887 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.002715/0.9691, allocations: 1.445 MB / 1.188 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.9691, allocations: 9.75 kB / 1.188 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.9703, allocations: 209.1 kB / 1.188 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.9715, allocations: 0.7596 MB / 1.189 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.9715, allocations: 56.66 kB / 1.189 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.9717, allocations: 72.52 kB / 1.189 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.9735, allocations: 0.9011 MB / 1.19 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.9736, allocations: 1.562 kB / 1.19 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.9737, allocations: 35.41 kB / 1.19 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.9737, allocations: 19.19 kB / 1.19 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.9758, allocations: 1.122 MB / 1.191 GB, free: 14.86 MB / 0.9044 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.00417/0.9799, allocations: 2.58 MB / 1.193 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.9815, allocations: 0.8356 MB / 1.194 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.9822, allocations: 333.8 kB / 1.194 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.819e-05/0.9823, allocations: 36.25 kB / 1.194 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009923/0.9833, allocations: 0.5255 MB / 1.195 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.9833, allocations: 0 / 1.195 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003749/0.9871, allocations: 1.29 MB / 1.196 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.9872, allocations: 188.6 kB / 1.196 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/0.9881, allocations: 0.6375 MB / 1.197 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.9882, allocations: 50.72 kB / 1.197 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.9885, allocations: 371 kB / 1.197 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.9888, allocations: 267.2 kB / 1.198 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.989, allocations: 174.4 kB / 1.198 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.9893, allocations: 385.6 kB / 1.198 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.9899, allocations: 303.4 kB / 1.198 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.9908, allocations: 400.7 kB / 1.199 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.9922, allocations: 0.6772 MB / 1.2 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.9922, allocations: 0 / 1.2 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002211/0.9944, allocations: 0.9218 MB / 1.2 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.9944, allocations: 5.75 kB / 1.2 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9945, allocations: 3.984 kB / 1.2 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.995, allocations: 81.53 kB / 1.2 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.9958, allocations: 179.1 kB / 1.201 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.998, allocations: 1.656 MB / 1.202 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/0.9989, allocations: 99.97 kB / 1.202 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.999, allocations: 40.66 kB / 1.202 GB, free: 6.473 MB / 0.9044 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.0005048/0.9995, allocations: 265.9 kB / 1.203 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.9997, allocations: 88.53 kB / 1.203 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/1.002, allocations: 1.206 MB / 1.204 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.002, allocations: 10.09 kB / 1.204 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.003, allocations: 0 / 1.204 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.003, allocations: 3.984 kB / 1.204 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/1.004, allocations: 0.9132 MB / 1.205 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/1.004, allocations: 0 / 1.205 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/1.004, allocations: 167 kB / 1.205 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/1.005, allocations: 72.09 kB / 1.205 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/1.005, allocations: 29.41 kB / 1.205 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/1.007, allocations: 1.667 MB / 1.207 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.007, allocations: 0 / 1.207 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/1.009, allocations: 1.007 MB / 1.208 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/1.01, allocations: 286.2 kB / 1.208 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.01, allocations: 20.81 kB / 1.208 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/1.01, allocations: 67.17 kB / 1.208 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.011, allocations: 76.31 kB / 1.208 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/1.011, allocations: 38.55 kB / 1.208 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005488/1.011, allocations: 467.5 kB / 1.209 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/1.011, allocations: 3.938 kB / 1.209 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008989/1.012, allocations: 323.2 kB / 1.209 GB, free: 1.871 MB / 0.9044 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.001432/1.014, allocations: 0.622 MB / 1.21 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002087/1.016, allocations: 0.9062 MB / 1.21 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.016, allocations: 0 / 1.21 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.017, allocations: 0.5513 MB / 1.211 GB, free: 76 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/1.018, allocations: 310.6 kB / 1.211 GB, free: 15.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/1.021, allocations: 1.647 MB / 1.213 GB, free: 14.12 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/1.022, allocations: 1.016 MB / 1.214 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009017/1.022, allocations: 278.8 kB / 1.214 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.023, allocations: 119.4 kB / 1.214 GB, free: 12.68 MB / 0.92 GB Notification: Performance of SimCode: time 2.164e-06/1.023, allocations: 0 / 1.214 GB, free: 12.68 MB / 0.92 GB Notification: Performance of Templates: time 0.02656/1.049, allocations: 15.86 MB / 1.23 GB, free: 13 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches