Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00246/0.00246, allocations: 209.5 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.435/3.435, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 69.73 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3839, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007669/0.3916, allocations: 4.297 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.19/0.5816, allocations: 132.7 MB / 1.461 GB, free: 7.508 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.5827, allocations: 23.81 kB / 1.461 GB, free: 7.484 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006989/0.5834, allocations: 198.2 kB / 1.461 GB, free: 7.289 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.5852, allocations: 0.5444 MB / 1.462 GB, free: 6.746 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.5874, allocations: 0.8802 MB / 1.462 GB, free: 5.871 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.5893, allocations: 1.417 MB / 1.464 GB, free: 4.449 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007818/0.5901, allocations: 376.5 kB / 1.464 GB, free: 4.059 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.591, allocations: 0.4906 MB / 1.465 GB, free: 3.566 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/0.5917, allocations: 0.4978 MB / 1.465 GB, free: 3.066 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.5919, allocations: 112 kB / 1.465 GB, free: 2.957 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.5938, allocations: 0.8584 MB / 1.466 GB, free: 2.098 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.5941, allocations: 291 kB / 1.466 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.5946, allocations: 441.8 kB / 1.467 GB, free: 1.379 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.5981, allocations: 1.856 MB / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5982, allocations: 0 / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.696e-06/0.5982, allocations: 0 / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.309e-05/0.5982, allocations: 7.938 kB / 1.469 GB, free: 15.51 MB / 1.17 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.003414/0.6016, allocations: 1.442 MB / 1.47 GB, free: 14.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6016, allocations: 16.03 kB / 1.47 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.6036, allocations: 267.9 kB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.6052, allocations: 0.7143 MB / 1.471 GB, free: 13.01 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.6053, allocations: 61.98 kB / 1.471 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.6054, allocations: 72 kB / 1.471 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.6075, allocations: 1.143 MB / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.6075, allocations: 7.938 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.774e-05/0.6076, allocations: 32 kB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.6076, allocations: 20 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.6099, allocations: 1.085 MB / 1.473 GB, free: 10.48 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.6142, allocations: 2.112 MB / 1.475 GB, free: 8.32 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.6162, allocations: 0.7783 MB / 1.476 GB, free: 7.531 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/0.6169, allocations: 310.7 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.617, allocations: 28.62 kB / 1.476 GB, free: 7.199 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.6183, allocations: 0.6259 MB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/0.6183, allocations: 0 / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.004256/0.6225, allocations: 1.22 MB / 1.478 GB, free: 5.305 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.6227, allocations: 196.6 kB / 1.478 GB, free: 5.066 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.6238, allocations: 0.6293 MB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/0.6239, allocations: 45.7 kB / 1.479 GB, free: 4.383 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.6243, allocations: 389.1 kB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.6246, allocations: 281.6 kB / 1.48 GB, free: 3.719 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.6249, allocations: 174.6 kB / 1.48 GB, free: 3.543 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.6251, allocations: 382.8 kB / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.6258, allocations: 305.8 kB / 1.481 GB, free: 2.859 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.6268, allocations: 0.516 MB / 1.481 GB, free: 2.297 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.6285, allocations: 0.6705 MB / 1.482 GB, free: 1.613 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6285, allocations: 0 / 1.482 GB, free: 1.613 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002702/0.6312, allocations: 0.9233 MB / 1.483 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6312, allocations: 8.125 kB / 1.483 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6312, allocations: 0 / 1.483 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.6319, allocations: 88.7 kB / 1.483 GB, free: 0.582 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/0.6328, allocations: 179.8 kB / 1.483 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.6354, allocations: 1.52 MB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/0.6363, allocations: 91.55 kB / 1.484 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.6364, allocations: 40.03 kB / 1.485 GB, free: 14.64 MB / 1.186 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.0005158/0.6369, allocations: 267.7 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.6371, allocations: 91.44 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.6404, allocations: 1.202 MB / 1.486 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.6404, allocations: 12 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.6404, allocations: 0 / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6404, allocations: 11.97 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.6416, allocations: 0.6552 MB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6416, allocations: 0 / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.6423, allocations: 163.8 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.6428, allocations: 72.73 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.6429, allocations: 31.97 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.6451, allocations: 1.537 MB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6451, allocations: 3.938 kB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.6477, allocations: 1.003 MB / 1.489 GB, free: 9.418 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.6482, allocations: 219 kB / 1.49 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.6484, allocations: 16 kB / 1.49 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.6491, allocations: 82.09 kB / 1.49 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.6493, allocations: 72.86 kB / 1.49 GB, free: 9.039 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/0.6494, allocations: 39.97 kB / 1.49 GB, free: 9 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000735/0.6502, allocations: 455 kB / 1.49 GB, free: 8.562 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6502, allocations: 0 / 1.49 GB, free: 8.562 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001043/0.6512, allocations: 347 kB / 1.491 GB, free: 8.223 MB / 1.186 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.002297/0.6535, allocations: 0.6717 MB / 1.491 GB, free: 7.758 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.6557, allocations: 0.8743 MB / 1.492 GB, free: 6.871 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6557, allocations: 4 kB / 1.492 GB, free: 6.867 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.6569, allocations: 0.5197 MB / 1.493 GB, free: 6.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6582, allocations: 298.8 kB / 1.493 GB, free: 6.062 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.6617, allocations: 1.695 MB / 1.495 GB, free: 4.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.6623, allocations: 436.1 kB / 1.495 GB, free: 3.883 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000858/0.6632, allocations: 270.8 kB / 1.495 GB, free: 3.613 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.6635, allocations: 119.4 kB / 1.495 GB, free: 3.496 MB / 1.186 GB Notification: Performance of SimCode: time 7.11e-07/0.6635, allocations: 0 / 1.495 GB, free: 3.496 MB / 1.186 GB Notification: Performance of Templates: time 0.03271/0.6962, allocations: 17.55 MB / 1.513 GB, free: 2.207 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.389344504001201]