Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008151/0.008151, allocations: 99.2 kB / 15.73 MB, free: 6.445 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.001907/0.001907, allocations: 194.4 kB / 16.67 MB, free: 6.348 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3194, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006258/0.3257, allocations: 4.694 MB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9195/1.245, allocations: 150.6 MB / 1.318 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009079/1.246, allocations: 19.47 kB / 1.318 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/1.247, allocations: 182 kB / 1.318 GB, free: 10.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/1.249, allocations: 0.5311 MB / 1.319 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/1.251, allocations: 0.8388 MB / 1.32 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002068/1.253, allocations: 1.395 MB / 1.321 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008666/1.254, allocations: 0.5283 MB / 1.322 GB, free: 9.566 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/1.255, allocations: 484.6 kB / 1.322 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/1.255, allocations: 497.3 kB / 1.323 GB, free: 9.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/1.256, allocations: 108.8 kB / 1.323 GB, free: 9.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/1.257, allocations: 0.8729 MB / 1.324 GB, free: 9.281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/1.258, allocations: 278.4 kB / 1.324 GB, free: 9.176 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/1.258, allocations: 0.5359 MB / 1.324 GB, free: 8.812 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003029/1.261, allocations: 1.801 MB / 1.326 GB, free: 8.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.261, allocations: 0 / 1.326 GB, free: 8.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/1.261, allocations: 2.375 kB / 1.326 GB, free: 8.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.207e-05/1.261, allocations: 0 / 1.326 GB, free: 8.078 MB / 1.014 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.003042/1.264, allocations: 1.486 MB / 1.328 GB, free: 7.051 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.265, allocations: 13.23 kB / 1.328 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.266, allocations: 211.6 kB / 1.328 GB, free: 6.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/1.267, allocations: 0.7712 MB / 1.329 GB, free: 6.477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.888e-05/1.267, allocations: 57.06 kB / 1.329 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.267, allocations: 75.86 kB / 1.329 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/1.269, allocations: 0.9017 MB / 1.33 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.269, allocations: 2.047 kB / 1.33 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/1.269, allocations: 32.42 kB / 1.33 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/1.269, allocations: 19.06 kB / 1.33 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/1.271, allocations: 1.121 MB / 1.331 GB, free: 5.73 MB / 1.014 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.004404/1.276, allocations: 2.597 MB / 1.333 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/1.278, allocations: 0.8384 MB / 1.334 GB, free: 3.824 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/1.278, allocations: 332.3 kB / 1.334 GB, free: 3.703 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.183e-05/1.278, allocations: 34.55 kB / 1.334 GB, free: 3.691 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/1.279, allocations: 0.5248 MB / 1.335 GB, free: 3.477 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.564e-06/1.279, allocations: 0 / 1.335 GB, free: 3.477 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.00368/1.283, allocations: 1.288 MB / 1.336 GB, free: 2.957 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.283, allocations: 197.5 kB / 1.336 GB, free: 2.727 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/1.284, allocations: 0.6441 MB / 1.337 GB, free: 2.441 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.563e-05/1.284, allocations: 38.77 kB / 1.337 GB, free: 2.402 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/1.285, allocations: 381.8 kB / 1.337 GB, free: 2.102 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/1.285, allocations: 278 kB / 1.338 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/1.285, allocations: 169.1 kB / 1.338 GB, free: 1.809 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.285, allocations: 394.5 kB / 1.338 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/1.286, allocations: 306.6 kB / 1.338 GB, free: 1.348 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/1.287, allocations: 394.8 kB / 1.339 GB, free: 1.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/1.288, allocations: 0.6717 MB / 1.339 GB, free: 0.875 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.288, allocations: 4 kB / 1.339 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002401/1.291, allocations: 0.9256 MB / 1.34 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.291, allocations: 6.031 kB / 1.34 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.291, allocations: 3.547 kB / 1.34 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/1.292, allocations: 84.28 kB / 1.34 GB, free: 496 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/1.292, allocations: 174.1 kB / 1.341 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/1.294, allocations: 1.646 MB / 1.342 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/1.295, allocations: 98.98 kB / 1.342 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/1.295, allocations: 41.75 kB / 1.342 GB, free: 14.87 MB / 1.029 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.0005211/1.296, allocations: 269.6 kB / 1.343 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/1.296, allocations: 92.34 kB / 1.343 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/1.299, allocations: 1.206 MB / 1.344 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.299, allocations: 9.594 kB / 1.344 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.299, allocations: 0 / 1.344 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.299, allocations: 5.953 kB / 1.344 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/1.3, allocations: 0.9142 MB / 1.345 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/1.3, allocations: 0 / 1.345 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.301, allocations: 175 kB / 1.345 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/1.302, allocations: 70.59 kB / 1.345 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/1.302, allocations: 25.61 kB / 1.345 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/1.304, allocations: 1.677 MB / 1.347 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.304, allocations: 0 / 1.347 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/1.307, allocations: 1.011 MB / 1.348 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/1.308, allocations: 287.7 kB / 1.348 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.308, allocations: 18.41 kB / 1.348 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/1.309, allocations: 75.69 kB / 1.348 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.309, allocations: 75.27 kB / 1.348 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.806e-05/1.309, allocations: 39.55 kB / 1.348 GB, free: 11.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008254/1.31, allocations: 464.1 kB / 1.349 GB, free: 11.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.91e-07/1.31, allocations: 1.188 kB / 1.349 GB, free: 11.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001274/1.311, allocations: 326 kB / 1.349 GB, free: 11.07 MB / 1.029 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.00156/1.313, allocations: 0.6277 MB / 1.35 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002264/1.315, allocations: 0.9086 MB / 1.35 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.315, allocations: 5.625 kB / 1.35 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.316, allocations: 0.5518 MB / 1.351 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.317, allocations: 303.4 kB / 1.351 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/1.321, allocations: 1.672 MB / 1.353 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/1.321, allocations: 1.019 MB / 1.354 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009711/1.322, allocations: 271.4 kB / 1.354 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/1.322, allocations: 119.2 kB / 1.354 GB, free: 8.375 MB / 1.029 GB Notification: Performance of SimCode: time 1.332e-06/1.323, allocations: 0 / 1.354 GB, free: 8.375 MB / 1.029 GB Notification: Performance of Templates: time 0.02664/1.349, allocations: 16.05 MB / 1.37 GB, free: 0.5234 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches