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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_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.001744/0.001745, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001674/0.001674, allocations: 187 kB / 17.34 MB, free: 5.762 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.558/1.558, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.89 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9247/0.9262, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00624/0.9325, allocations: 4.685 MB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1655/1.098, allocations: 150.6 MB / 1.36 GB, free: 1.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/1.099, allocations: 19.88 kB / 1.36 GB, free: 1.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008047/1.1, allocations: 186.3 kB / 1.36 GB, free: 1.566 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00213/1.102, allocations: 0.5317 MB / 1.361 GB, free: 1.035 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/1.104, allocations: 0.8483 MB / 1.362 GB, free: 196 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001906/1.106, allocations: 1.389 MB / 1.363 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/1.107, allocations: 0.5311 MB / 1.363 GB, free: 14.25 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007517/1.108, allocations: 478.4 kB / 1.364 GB, free: 13.78 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/1.108, allocations: 0.49 MB / 1.364 GB, free: 13.29 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/1.108, allocations: 116 kB / 1.364 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/1.11, allocations: 0.8661 MB / 1.365 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/1.11, allocations: 291.1 kB / 1.366 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005136/1.111, allocations: 0.5323 MB / 1.366 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/1.113, allocations: 1.789 MB / 1.368 GB, free: 9.691 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.113, allocations: 0 / 1.368 GB, free: 9.691 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.613e-06/1.113, allocations: 0 / 1.368 GB, free: 9.691 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.04e-05/1.113, allocations: 0 / 1.368 GB, free: 9.691 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.002641/1.116, allocations: 1.458 MB / 1.369 GB, free: 8.18 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.116, allocations: 8.031 kB / 1.369 GB, free: 8.172 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.117, allocations: 199.5 kB / 1.369 GB, free: 7.977 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.119, allocations: 0.7663 MB / 1.37 GB, free: 7.168 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/1.119, allocations: 54 kB / 1.37 GB, free: 7.113 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.119, allocations: 79.94 kB / 1.37 GB, free: 7.035 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/1.12, allocations: 0.8919 MB / 1.371 GB, free: 6.102 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.121, allocations: 0 / 1.371 GB, free: 6.102 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/1.121, allocations: 32 kB / 1.371 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/1.121, allocations: 20 kB / 1.371 GB, free: 6.051 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/1.123, allocations: 1.128 MB / 1.372 GB, free: 4.922 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.004126/1.127, allocations: 2.573 MB / 1.375 GB, free: 2.254 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/1.128, allocations: 0.8326 MB / 1.376 GB, free: 1.422 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/1.129, allocations: 334.7 kB / 1.376 GB, free: 1.09 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/1.129, allocations: 32.61 kB / 1.376 GB, free: 1.059 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/1.13, allocations: 0.5338 MB / 1.377 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/1.13, allocations: 7.875 kB / 1.377 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003705/1.134, allocations: 1.287 MB / 1.378 GB, free: 15.19 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.134, allocations: 192.6 kB / 1.378 GB, free: 14.96 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000904/1.135, allocations: 0.6411 MB / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/1.135, allocations: 41.7 kB / 1.379 GB, free: 14.26 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/1.136, allocations: 376.5 kB / 1.379 GB, free: 13.88 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/1.136, allocations: 268.2 kB / 1.379 GB, free: 13.62 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/1.136, allocations: 174.5 kB / 1.379 GB, free: 13.44 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.136, allocations: 390.7 kB / 1.38 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/1.137, allocations: 293.8 kB / 1.38 GB, free: 12.76 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/1.138, allocations: 407.9 kB / 1.381 GB, free: 12.35 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/1.139, allocations: 0.6627 MB / 1.381 GB, free: 11.67 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.139, allocations: 4 kB / 1.381 GB, free: 11.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002465/1.142, allocations: 0.9189 MB / 1.382 GB, free: 10.73 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.142, allocations: 4.125 kB / 1.382 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.142, allocations: 8 kB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/1.143, allocations: 80.77 kB / 1.382 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/1.143, allocations: 183.7 kB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/1.146, allocations: 1.645 MB / 1.384 GB, free: 8.672 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/1.146, allocations: 99.3 kB / 1.384 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/1.147, allocations: 39.97 kB / 1.384 GB, free: 8.535 MB / 1.107 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.0005294/1.147, allocations: 271.8 kB / 1.384 GB, free: 8.258 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.147, allocations: 86.97 kB / 1.384 GB, free: 8.172 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/1.15, allocations: 1.195 MB / 1.386 GB, free: 6.969 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.15, allocations: 12 kB / 1.386 GB, free: 6.957 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.15, allocations: 0 / 1.386 GB, free: 6.957 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.15, allocations: 15.91 kB / 1.386 GB, free: 6.941 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/1.152, allocations: 0.8996 MB / 1.386 GB, free: 5.988 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.152, allocations: 0 / 1.386 GB, free: 5.988 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/1.152, allocations: 167.8 kB / 1.387 GB, free: 5.824 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/1.153, allocations: 88.7 kB / 1.387 GB, free: 5.734 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-05/1.153, allocations: 23.98 kB / 1.387 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/1.155, allocations: 1.674 MB / 1.388 GB, free: 3.887 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.155, allocations: 0 / 1.388 GB, free: 3.887 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/1.157, allocations: 0.9981 MB / 1.389 GB, free: 2.867 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/1.158, allocations: 287.6 kB / 1.39 GB, free: 2.566 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/1.158, allocations: 23.94 kB / 1.39 GB, free: 2.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/1.159, allocations: 77.78 kB / 1.39 GB, free: 2.469 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.159, allocations: 76.89 kB / 1.39 GB, free: 2.395 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/1.159, allocations: 31.98 kB / 1.39 GB, free: 2.363 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006157/1.16, allocations: 467 kB / 1.39 GB, free: 1.91 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.16, allocations: 3.938 kB / 1.39 GB, free: 1.906 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009286/1.161, allocations: 331.3 kB / 1.391 GB, free: 1.582 MB / 1.107 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.001465/1.162, allocations: 0.6139 MB / 1.391 GB, free: 1.137 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.164, allocations: 0.9017 MB / 1.392 GB, free: 228 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.164, allocations: 4 kB / 1.392 GB, free: 224 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.165, allocations: 0.5587 MB / 1.393 GB, free: 15.65 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.166, allocations: 296.5 kB / 1.393 GB, free: 15.38 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/1.17, allocations: 1.681 MB / 1.395 GB, free: 13.67 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/1.17, allocations: 1.02 MB / 1.396 GB, free: 12.62 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/1.171, allocations: 127.4 kB / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of SimCode: time 6.81e-07/1.171, allocations: 0 / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of Templates: time 0.02724/1.198, allocations: 19.04 MB / 1.414 GB, free: 9.527 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) 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) Reference file matches