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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 110.5 kB / 17.08 MB, free: 5.984 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.002317/0.002317, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.293/3.293, allocations: 489.2 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=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: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 163.8 MB / 1.263 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006753/1.141, allocations: 4.705 MB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2113/1.353, allocations: 150.6 MB / 1.414 GB, free: 5.199 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/1.354, allocations: 19.06 kB / 1.414 GB, free: 5.191 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009085/1.355, allocations: 185.6 kB / 1.414 GB, free: 5.027 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/1.358, allocations: 0.5206 MB / 1.415 GB, free: 4.641 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/1.361, allocations: 0.844 MB / 1.416 GB, free: 4 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002356/1.364, allocations: 1.393 MB / 1.417 GB, free: 3.133 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009785/1.365, allocations: 0.5323 MB / 1.418 GB, free: 2.801 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000849/1.365, allocations: 474.6 kB / 1.418 GB, free: 2.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/1.366, allocations: 0.489 MB / 1.419 GB, free: 2.172 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/1.366, allocations: 109.7 kB / 1.419 GB, free: 2.172 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/1.368, allocations: 0.8734 MB / 1.419 GB, free: 1.754 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/1.369, allocations: 283.7 kB / 1.42 GB, free: 1.531 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005986/1.369, allocations: 0.5325 MB / 1.42 GB, free: 1.133 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/1.372, allocations: 1.791 MB / 1.422 GB, free: 15.88 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.372, allocations: 0 / 1.422 GB, free: 15.88 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.076e-06/1.372, allocations: 1.438 kB / 1.422 GB, free: 15.88 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.652e-05/1.372, allocations: 0 / 1.422 GB, free: 15.88 MB / 1.123 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.003074/1.375, allocations: 1.5 MB / 1.423 GB, free: 14.69 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.375, allocations: 9.25 kB / 1.423 GB, free: 14.69 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.377, allocations: 210.6 kB / 1.424 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/1.378, allocations: 0.768 MB / 1.424 GB, free: 13.96 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/1.378, allocations: 61.23 kB / 1.425 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.378, allocations: 71.81 kB / 1.425 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.38, allocations: 0.8905 MB / 1.425 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/1.38, allocations: 0 / 1.425 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/1.38, allocations: 36.97 kB / 1.425 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/1.38, allocations: 18.22 kB / 1.425 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/1.382, allocations: 1.138 MB / 1.427 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/1.387, allocations: 2.587 MB / 1.429 GB, free: 10.67 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/1.388, allocations: 0.8239 MB / 1.43 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007905/1.389, allocations: 340.4 kB / 1.43 GB, free: 10.08 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.613e-05/1.389, allocations: 30.95 kB / 1.43 GB, free: 10.06 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/1.391, allocations: 0.5367 MB / 1.431 GB, free: 9.715 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/1.391, allocations: 1.125 kB / 1.431 GB, free: 9.715 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003851/1.394, allocations: 1.288 MB / 1.432 GB, free: 9.02 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.395, allocations: 193.8 kB / 1.432 GB, free: 8.797 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/1.396, allocations: 0.6341 MB / 1.433 GB, free: 8.43 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/1.396, allocations: 47.19 kB / 1.433 GB, free: 8.383 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/1.396, allocations: 381.2 kB / 1.433 GB, free: 8.047 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/1.396, allocations: 280 kB / 1.434 GB, free: 7.805 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/1.397, allocations: 174 kB / 1.434 GB, free: 7.699 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.397, allocations: 392.6 kB / 1.434 GB, free: 7.324 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/1.398, allocations: 299.8 kB / 1.434 GB, free: 7.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/1.399, allocations: 401.3 kB / 1.435 GB, free: 6.945 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.4, allocations: 0.6684 MB / 1.435 GB, free: 6.582 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.4, allocations: 1.156 kB / 1.435 GB, free: 6.582 MB / 1.123 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002478/1.403, allocations: 0.9244 MB / 1.436 GB, free: 5.938 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.403, allocations: 8 kB / 1.436 GB, free: 5.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.403, allocations: 7.922 kB / 1.436 GB, free: 5.922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/1.403, allocations: 84.84 kB / 1.436 GB, free: 5.836 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/1.404, allocations: 171.8 kB / 1.437 GB, free: 5.668 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/1.406, allocations: 1.656 MB / 1.438 GB, free: 3.871 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/1.407, allocations: 91.59 kB / 1.438 GB, free: 3.781 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/1.407, allocations: 43.97 kB / 1.438 GB, free: 3.738 MB / 1.123 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.0004785/1.408, allocations: 278.3 kB / 1.439 GB, free: 3.457 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.408, allocations: 87.44 kB / 1.439 GB, free: 3.371 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/1.411, allocations: 1.21 MB / 1.44 GB, free: 2.141 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.411, allocations: 12 kB / 1.44 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.411, allocations: 0 / 1.44 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.411, allocations: 7.922 kB / 1.44 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.412, allocations: 0.9112 MB / 1.441 GB, free: 1.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.412, allocations: 3.938 kB / 1.441 GB, free: 1.156 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/1.413, allocations: 159.8 kB / 1.441 GB, free: 1 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/1.413, allocations: 80.78 kB / 1.441 GB, free: 0.918 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/1.413, allocations: 27.97 kB / 1.441 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/1.415, allocations: 1.674 MB / 1.443 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.415, allocations: 0 / 1.443 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/1.418, allocations: 1.006 MB / 1.444 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/1.418, allocations: 288.3 kB / 1.444 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.418, allocations: 23.98 kB / 1.444 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/1.419, allocations: 74.02 kB / 1.444 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.419, allocations: 76.89 kB / 1.444 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/1.419, allocations: 39.97 kB / 1.444 GB, free: 13.54 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006336/1.42, allocations: 459 kB / 1.445 GB, free: 13.1 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.42, allocations: 0 / 1.445 GB, free: 13.1 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001023/1.421, allocations: 343.1 kB / 1.445 GB, free: 12.76 MB / 1.139 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.002073/1.423, allocations: 0.6218 MB / 1.445 GB, free: 12.32 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002174/1.425, allocations: 0.9017 MB / 1.446 GB, free: 11.4 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.425, allocations: 0 / 1.446 GB, free: 11.4 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.426, allocations: 0.5587 MB / 1.447 GB, free: 10.83 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/1.428, allocations: 303.2 kB / 1.447 GB, free: 10.56 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/1.431, allocations: 1.717 MB / 1.449 GB, free: 8.809 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/1.432, allocations: 1.02 MB / 1.45 GB, free: 7.758 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.432, allocations: 119.3 kB / 1.45 GB, free: 7.641 MB / 1.139 GB Notification: Performance of SimCode: time 8.32e-07/1.432, allocations: 4 kB / 1.45 GB, free: 7.637 MB / 1.139 GB Notification: Performance of Templates: time 0.03013/1.462, allocations: 19.04 MB / 1.469 GB, free: 4.664 MB / 1.154 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 -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_2/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: 15.131593185011297]