Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_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_9_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.01292/0.01292, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002831/0.002831, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.937, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005888/0.9429, allocations: 4.429 MB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2114/1.154, allocations: 150.6 MB / 1.239 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/1.156, allocations: 15.62 kB / 1.239 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/1.157, allocations: 177.2 kB / 1.239 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003283/1.16, allocations: 0.5172 MB / 1.24 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/1.164, allocations: 0.8369 MB / 1.241 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003195/1.167, allocations: 1.351 MB / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/1.168, allocations: 0.5639 MB / 1.243 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009965/1.169, allocations: 471.4 kB / 1.243 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/1.17, allocations: 494.2 kB / 1.244 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.17, allocations: 109.5 kB / 1.244 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/1.172, allocations: 0.8698 MB / 1.245 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/1.173, allocations: 287 kB / 1.245 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005181/1.173, allocations: 0.5207 MB / 1.245 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/1.176, allocations: 1.782 MB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.176, allocations: 0 / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/1.176, allocations: 4 kB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.446e-05/1.176, allocations: 3.938 kB / 1.247 GB, free: 10.79 MB / 0.9825 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.002846/1.179, allocations: 1.487 MB / 1.248 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.179, allocations: 12.02 kB / 1.248 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/1.18, allocations: 212 kB / 1.249 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/1.182, allocations: 0.767 MB / 1.249 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/1.182, allocations: 58 kB / 1.25 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.182, allocations: 75.94 kB / 1.25 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/1.184, allocations: 0.8918 MB / 1.25 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.184, allocations: 4 kB / 1.25 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/1.184, allocations: 36 kB / 1.25 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/1.184, allocations: 19.94 kB / 1.251 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/1.186, allocations: 1.124 MB / 1.252 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/1.19, allocations: 2.478 MB / 1.254 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.191, allocations: 0.8326 MB / 1.255 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/1.192, allocations: 330.7 kB / 1.255 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.518e-05/1.192, allocations: 28.61 kB / 1.255 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/1.193, allocations: 0.5381 MB / 1.256 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/1.193, allocations: 0 / 1.256 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003742/1.197, allocations: 1.284 MB / 1.257 GB, free: 364 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.197, allocations: 192.6 kB / 1.257 GB, free: 128 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/1.198, allocations: 0.6488 MB / 1.258 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/1.198, allocations: 45.7 kB / 1.258 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/1.199, allocations: 381.2 kB / 1.258 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/1.199, allocations: 277.6 kB / 1.258 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/1.199, allocations: 170.6 kB / 1.259 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.199, allocations: 394.7 kB / 1.259 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/1.2, allocations: 297.8 kB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/1.201, allocations: 399.9 kB / 1.26 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.202, allocations: 0.6666 MB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.202, allocations: 0 / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002429/1.205, allocations: 0.9311 MB / 1.261 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.205, allocations: 7.938 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.205, allocations: 0 / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/1.205, allocations: 92.88 kB / 1.261 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/1.206, allocations: 175.7 kB / 1.261 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/1.208, allocations: 1.65 MB / 1.263 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009305/1.209, allocations: 95.55 kB / 1.263 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/1.209, allocations: 44.03 kB / 1.263 GB, free: 9.668 MB / 0.9981 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.000532/1.21, allocations: 271.9 kB / 1.263 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/1.21, allocations: 87.44 kB / 1.264 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/1.213, allocations: 1.206 MB / 1.265 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.213, allocations: 8 kB / 1.265 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.213, allocations: 0 / 1.265 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.213, allocations: 11.91 kB / 1.265 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.214, allocations: 0.8998 MB / 1.266 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.214, allocations: 4 kB / 1.266 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/1.215, allocations: 167.8 kB / 1.266 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/1.215, allocations: 72.78 kB / 1.266 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/1.215, allocations: 27.98 kB / 1.266 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.217, allocations: 1.678 MB / 1.268 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.217, allocations: 0 / 1.268 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.22, allocations: 1.006 MB / 1.269 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/1.22, allocations: 284.2 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.22, allocations: 24 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/1.221, allocations: 74.25 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.221, allocations: 72.89 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/1.221, allocations: 31.98 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006258/1.222, allocations: 475 kB / 1.269 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.222, allocations: 3.938 kB / 1.269 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009248/1.223, allocations: 327.1 kB / 1.27 GB, free: 2.719 MB / 0.9981 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.001496/1.224, allocations: 0.627 MB / 1.27 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002326/1.226, allocations: 0.9092 MB / 1.271 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.226, allocations: 4 kB / 1.271 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/1.228, allocations: 0.5551 MB / 1.272 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.229, allocations: 291.3 kB / 1.272 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/1.234, allocations: 1.782 MB / 1.274 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.235, allocations: 1.02 MB / 1.275 GB, free: 13.65 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001188/1.237, allocations: 282.8 kB / 1.275 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/1.237, allocations: 111.4 kB / 1.275 GB, free: 13.26 MB / 1.014 GB Notification: Performance of SimCode: time 1.784e-06/1.237, allocations: 4 kB / 1.275 GB, free: 13.25 MB / 1.014 GB Notification: Performance of Templates: time 0.02987/1.267, allocations: 15.75 MB / 1.291 GB, free: 13.68 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches