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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 187.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.4 MB / 0.7321 GB, free: 12.41 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.84, allocations: 160.8 MB / 1.218 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006789/0.8468, allocations: 4.76 MB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1849/1.032, allocations: 151.2 MB / 1.371 GB, free: 7.895 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/1.033, allocations: 27.81 kB / 1.371 GB, free: 7.867 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007851/1.034, allocations: 194.3 kB / 1.371 GB, free: 7.676 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002327/1.036, allocations: 0.5377 MB / 1.371 GB, free: 7.141 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/1.038, allocations: 0.8605 MB / 1.372 GB, free: 6.285 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002107/1.04, allocations: 1.389 MB / 1.374 GB, free: 4.891 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/1.041, allocations: 368.5 kB / 1.374 GB, free: 4.504 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008698/1.042, allocations: 0.4905 MB / 1.374 GB, free: 4.012 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006978/1.043, allocations: 493.9 kB / 1.375 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/1.043, allocations: 108 kB / 1.375 GB, free: 3.422 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/1.045, allocations: 0.8817 MB / 1.376 GB, free: 2.539 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00031/1.045, allocations: 283.1 kB / 1.376 GB, free: 2.262 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005844/1.046, allocations: 0.5363 MB / 1.377 GB, free: 1.723 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/1.048, allocations: 1.79 MB / 1.378 GB, free: 15.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.048, allocations: 4 kB / 1.378 GB, free: 15.92 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.402e-06/1.048, allocations: 4 kB / 1.378 GB, free: 15.92 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.048, allocations: 0 / 1.378 GB, free: 15.92 MB / 1.092 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.002831/1.051, allocations: 1.487 MB / 1.38 GB, free: 14.38 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.051, allocations: 8.031 kB / 1.38 GB, free: 14.37 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/1.052, allocations: 216 kB / 1.38 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/1.053, allocations: 0.7708 MB / 1.381 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/1.053, allocations: 54 kB / 1.381 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.054, allocations: 75.98 kB / 1.381 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/1.055, allocations: 0.8919 MB / 1.382 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/1.055, allocations: 4 kB / 1.382 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-05/1.055, allocations: 36 kB / 1.382 GB, free: 12.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/1.055, allocations: 16 kB / 1.382 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/1.058, allocations: 1.128 MB / 1.383 GB, free: 11.11 MB / 1.092 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.00434/1.062, allocations: 2.593 MB / 1.386 GB, free: 8.406 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/1.064, allocations: 0.789 MB / 1.386 GB, free: 7.613 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/1.064, allocations: 306.7 kB / 1.387 GB, free: 7.312 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-05/1.064, allocations: 32.59 kB / 1.387 GB, free: 7.281 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/1.066, allocations: 0.5318 MB / 1.387 GB, free: 6.73 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/1.066, allocations: 0 / 1.387 GB, free: 6.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003815/1.069, allocations: 1.288 MB / 1.388 GB, free: 5.414 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.07, allocations: 192.6 kB / 1.389 GB, free: 5.184 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/1.07, allocations: 0.641 MB / 1.389 GB, free: 4.539 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.174e-05/1.071, allocations: 53.62 kB / 1.389 GB, free: 4.48 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/1.071, allocations: 377.2 kB / 1.39 GB, free: 4.105 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.071, allocations: 277.6 kB / 1.39 GB, free: 3.832 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/1.071, allocations: 170.6 kB / 1.39 GB, free: 3.66 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.072, allocations: 394.7 kB / 1.39 GB, free: 3.266 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/1.072, allocations: 297.8 kB / 1.391 GB, free: 2.977 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/1.073, allocations: 399.9 kB / 1.391 GB, free: 2.566 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/1.075, allocations: 0.6666 MB / 1.392 GB, free: 1.891 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.075, allocations: 0 / 1.392 GB, free: 1.891 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002415/1.077, allocations: 0.9311 MB / 1.393 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.077, allocations: 6.656 kB / 1.393 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.077, allocations: 0 / 1.393 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/1.078, allocations: 88.83 kB / 1.393 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/1.079, allocations: 179.7 kB / 1.393 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/1.081, allocations: 1.647 MB / 1.395 GB, free: 14.88 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/1.082, allocations: 95.69 kB / 1.395 GB, free: 14.79 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/1.082, allocations: 43.97 kB / 1.395 GB, free: 14.74 MB / 1.108 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.0005283/1.082, allocations: 283.4 kB / 1.395 GB, free: 14.46 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.082, allocations: 87.62 kB / 1.395 GB, free: 14.37 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/1.086, allocations: 1.206 MB / 1.396 GB, free: 13.15 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.086, allocations: 8 kB / 1.396 GB, free: 13.14 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/1.086, allocations: 0 / 1.396 GB, free: 13.14 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.086, allocations: 7.922 kB / 1.396 GB, free: 13.13 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/1.087, allocations: 0.9044 MB / 1.397 GB, free: 12.18 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.087, allocations: 0 / 1.397 GB, free: 12.18 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/1.087, allocations: 159.8 kB / 1.397 GB, free: 12.03 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/1.088, allocations: 76.78 kB / 1.397 GB, free: 11.95 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/1.088, allocations: 31.97 kB / 1.397 GB, free: 11.92 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/1.09, allocations: 1.682 MB / 1.399 GB, free: 10.09 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.09, allocations: 4.031 kB / 1.399 GB, free: 10.09 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/1.093, allocations: 1.006 MB / 1.4 GB, free: 9.059 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/1.093, allocations: 288.2 kB / 1.4 GB, free: 8.758 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.093, allocations: 16 kB / 1.4 GB, free: 8.742 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/1.094, allocations: 67.92 kB / 1.4 GB, free: 8.676 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.094, allocations: 80.84 kB / 1.4 GB, free: 8.598 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/1.094, allocations: 35.98 kB / 1.4 GB, free: 8.562 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0006797/1.095, allocations: 471 kB / 1.401 GB, free: 8.109 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.1e-07/1.095, allocations: 0 / 1.401 GB, free: 8.109 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0009396/1.096, allocations: 335.2 kB / 1.401 GB, free: 7.781 MB / 1.108 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.002086/1.098, allocations: 0.6249 MB / 1.402 GB, free: 7.324 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.002146/1.1, allocations: 0.8702 MB / 1.403 GB, free: 6.441 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.1, allocations: 0 / 1.403 GB, free: 6.441 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.101, allocations: 0.5316 MB / 1.403 GB, free: 5.898 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.102, allocations: 305.6 kB / 1.404 GB, free: 5.621 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/1.106, allocations: 1.683 MB / 1.405 GB, free: 3.914 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/1.106, allocations: 1.02 MB / 1.406 GB, free: 2.863 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0009182/1.107, allocations: 274.8 kB / 1.406 GB, free: 2.59 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/1.107, allocations: 119.4 kB / 1.407 GB, free: 2.473 MB / 1.108 GB Notification: Performance of SimCode: time 1.282e-06/1.107, allocations: 0 / 1.407 GB, free: 2.473 MB / 1.108 GB Notification: Performance of Templates: time 0.03078/1.138, allocations: 16.58 MB / 1.423 GB, free: 2.047 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.558276711963117]