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.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.001623/0.001623, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001925/0.001925, allocations: 161 kB / 23.01 MB, free: 4.602 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.941/2.941, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00219/0.00219, allocations: 67.89 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8943/0.8965, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005423/0.9019, allocations: 4.29 MB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1815/1.083, allocations: 132.7 MB / 1.32 GB, free: 12.93 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/1.085, allocations: 23.81 kB / 1.32 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007688/1.085, allocations: 194.2 kB / 1.321 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/1.087, allocations: 0.5427 MB / 1.321 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/1.09, allocations: 0.8713 MB / 1.322 GB, free: 11.3 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001746/1.092, allocations: 1.42 MB / 1.323 GB, free: 9.879 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/1.092, allocations: 356.5 kB / 1.324 GB, free: 9.508 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008027/1.093, allocations: 0.4944 MB / 1.324 GB, free: 9.012 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/1.094, allocations: 457.8 kB / 1.325 GB, free: 8.562 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/1.094, allocations: 112 kB / 1.325 GB, free: 8.453 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/1.096, allocations: 0.8271 MB / 1.326 GB, free: 7.625 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/1.096, allocations: 291 kB / 1.326 GB, free: 7.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004564/1.096, allocations: 445.8 kB / 1.326 GB, free: 6.902 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002409/1.099, allocations: 1.852 MB / 1.328 GB, free: 5.047 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.099, allocations: 0 / 1.328 GB, free: 5.047 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/1.099, allocations: 0 / 1.328 GB, free: 5.047 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.707e-05/1.099, allocations: 0 / 1.328 GB, free: 5.047 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.002702/1.102, allocations: 1.446 MB / 1.329 GB, free: 3.559 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.102, allocations: 12.03 kB / 1.329 GB, free: 3.547 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/1.103, allocations: 272 kB / 1.33 GB, free: 3.281 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/1.105, allocations: 0.7143 MB / 1.33 GB, free: 2.539 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/1.105, allocations: 61.94 kB / 1.33 GB, free: 2.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/1.105, allocations: 72 kB / 1.331 GB, free: 2.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.107, allocations: 1.147 MB / 1.332 GB, free: 1.156 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.107, allocations: 3.938 kB / 1.332 GB, free: 1.152 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/1.107, allocations: 36 kB / 1.332 GB, free: 1.117 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/1.107, allocations: 20 kB / 1.332 GB, free: 1.098 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/1.109, allocations: 1.081 MB / 1.333 GB, free: 20 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004115/1.114, allocations: 2.131 MB / 1.335 GB, free: 13.84 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.115, allocations: 0.782 MB / 1.336 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/1.116, allocations: 310.7 kB / 1.336 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-05/1.116, allocations: 20.64 kB / 1.336 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/1.117, allocations: 0.6268 MB / 1.337 GB, free: 12.05 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/1.117, allocations: 0 / 1.337 GB, free: 12.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003953/1.121, allocations: 1.22 MB / 1.338 GB, free: 10.83 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.121, allocations: 192.6 kB / 1.338 GB, free: 10.59 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/1.122, allocations: 0.6331 MB / 1.339 GB, free: 9.953 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/1.122, allocations: 45.7 kB / 1.339 GB, free: 9.902 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/1.123, allocations: 385.1 kB / 1.339 GB, free: 9.52 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/1.123, allocations: 289.6 kB / 1.339 GB, free: 9.234 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/1.123, allocations: 170.6 kB / 1.339 GB, free: 9.062 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002218/1.124, allocations: 386.8 kB / 1.34 GB, free: 8.676 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007473/1.124, allocations: 301.8 kB / 1.34 GB, free: 8.379 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009733/1.125, allocations: 0.516 MB / 1.341 GB, free: 7.816 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.127, allocations: 0.6744 MB / 1.341 GB, free: 7.133 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.127, allocations: 0 / 1.341 GB, free: 7.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002546/1.129, allocations: 0.9272 MB / 1.342 GB, free: 6.195 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.129, allocations: 4 kB / 1.342 GB, free: 6.191 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.129, allocations: 0 / 1.342 GB, free: 6.191 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/1.13, allocations: 88.89 kB / 1.342 GB, free: 6.102 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/1.131, allocations: 175.8 kB / 1.342 GB, free: 5.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/1.133, allocations: 1.52 MB / 1.344 GB, free: 4.301 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/1.134, allocations: 91.56 kB / 1.344 GB, free: 4.211 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.633e-05/1.134, allocations: 39.97 kB / 1.344 GB, free: 4.172 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.0004678/1.135, allocations: 271.7 kB / 1.344 GB, free: 3.898 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.135, allocations: 87.42 kB / 1.344 GB, free: 3.812 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/1.138, allocations: 1.202 MB / 1.345 GB, free: 2.59 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.138, allocations: 15.94 kB / 1.345 GB, free: 2.574 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.138, allocations: 0 / 1.345 GB, free: 2.574 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.138, allocations: 3.984 kB / 1.345 GB, free: 2.57 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/1.139, allocations: 0.6613 MB / 1.346 GB, free: 1.879 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.139, allocations: 4 kB / 1.346 GB, free: 1.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/1.14, allocations: 159.8 kB / 1.346 GB, free: 1.719 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/1.14, allocations: 72.72 kB / 1.346 GB, free: 1.645 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/1.14, allocations: 31.97 kB / 1.346 GB, free: 1.613 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/1.142, allocations: 1.536 MB / 1.348 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.142, allocations: 3.938 kB / 1.348 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/1.145, allocations: 1.002 MB / 1.349 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/1.145, allocations: 226.9 kB / 1.349 GB, free: 14.72 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/1.145, allocations: 16 kB / 1.349 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/1.146, allocations: 72.86 kB / 1.349 GB, free: 14.63 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.146, allocations: 80.84 kB / 1.349 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/1.146, allocations: 39.97 kB / 1.349 GB, free: 14.51 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007039/1.147, allocations: 455 kB / 1.35 GB, free: 14.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.147, allocations: 0 / 1.35 GB, free: 14.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000999/1.148, allocations: 343.1 kB / 1.35 GB, free: 13.74 MB / 1.201 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.002254/1.15, allocations: 0.6612 MB / 1.351 GB, free: 13.28 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002233/1.153, allocations: 0.8704 MB / 1.352 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.153, allocations: 0 / 1.352 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/1.154, allocations: 0.5236 MB / 1.352 GB, free: 11.86 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/1.155, allocations: 314.9 kB / 1.352 GB, free: 11.58 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/1.159, allocations: 1.691 MB / 1.354 GB, free: 9.859 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/1.159, allocations: 436.7 kB / 1.354 GB, free: 9.402 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009287/1.16, allocations: 278.8 kB / 1.355 GB, free: 9.125 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/1.16, allocations: 124.4 kB / 1.355 GB, free: 9.004 MB / 1.201 GB Notification: Performance of SimCode: time 7.11e-07/1.16, allocations: 0 / 1.355 GB, free: 9.004 MB / 1.201 GB Notification: Performance of Templates: time 0.03142/1.192, allocations: 16.33 MB / 1.371 GB, free: 8.906 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.885859741945751]