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.007615/0.007616, allocations: 100.7 kB / 15.73 MB, free: 6.453 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.001619/0.001619, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.941/2.941, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 157.4 MB / 1.208 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006356/0.354, allocations: 4.696 MB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.047/1.401, allocations: 150.6 MB / 1.359 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/1.403, allocations: 15.19 kB / 1.359 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000758/1.403, allocations: 190.5 kB / 1.36 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/1.406, allocations: 0.5202 MB / 1.36 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/1.408, allocations: 0.849 MB / 1.361 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00196/1.41, allocations: 1.385 MB / 1.362 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000935/1.411, allocations: 0.5363 MB / 1.363 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009291/1.412, allocations: 479.3 kB / 1.363 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/1.413, allocations: 490.2 kB / 1.364 GB, free: 7.219 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/1.413, allocations: 110.1 kB / 1.364 GB, free: 7.219 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/1.415, allocations: 0.881 MB / 1.365 GB, free: 6.988 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/1.415, allocations: 280.9 kB / 1.365 GB, free: 6.812 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005858/1.416, allocations: 0.5355 MB / 1.365 GB, free: 6.449 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/1.418, allocations: 1.787 MB / 1.367 GB, free: 5.727 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.418, allocations: 0 / 1.367 GB, free: 5.727 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/1.418, allocations: 0 / 1.367 GB, free: 5.727 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.733e-05/1.418, allocations: 1 kB / 1.367 GB, free: 5.727 MB / 1.061 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.002899/1.421, allocations: 1.455 MB / 1.369 GB, free: 4.738 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.421, allocations: 14.91 kB / 1.369 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.423, allocations: 197.3 kB / 1.369 GB, free: 4.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.424, allocations: 0.7615 MB / 1.37 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/1.424, allocations: 56.84 kB / 1.37 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.424, allocations: 76.25 kB / 1.37 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/1.426, allocations: 0.898 MB / 1.371 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/1.426, allocations: 0 / 1.371 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/1.426, allocations: 33.59 kB / 1.371 GB, free: 3.691 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/1.426, allocations: 18.56 kB / 1.371 GB, free: 3.691 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/1.428, allocations: 1.131 MB / 1.372 GB, free: 3.238 MB / 1.061 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.004762/1.433, allocations: 2.569 MB / 1.374 GB, free: 1.191 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.435, allocations: 0.8323 MB / 1.375 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/1.436, allocations: 337.8 kB / 1.375 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/1.436, allocations: 35.84 kB / 1.375 GB, free: 0.582 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.437, allocations: 0.5293 MB / 1.376 GB, free: 248 kB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.574e-06/1.437, allocations: 0 / 1.376 GB, free: 248 kB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003901/1.441, allocations: 1.288 MB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.441, allocations: 193.6 kB / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/1.442, allocations: 0.6344 MB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/1.442, allocations: 42.55 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/1.442, allocations: 380.4 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/1.443, allocations: 265.8 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/1.443, allocations: 170.3 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.443, allocations: 396.9 kB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007269/1.444, allocations: 303.4 kB / 1.379 GB, free: 13.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/1.445, allocations: 397 kB / 1.38 GB, free: 13.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/1.446, allocations: 0.6739 MB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.446, allocations: 0 / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002449/1.449, allocations: 0.9203 MB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/1.449, allocations: 9.797 kB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.449, allocations: 1.219 kB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/1.449, allocations: 84.91 kB / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/1.45, allocations: 177.3 kB / 1.382 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/1.452, allocations: 1.648 MB / 1.383 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/1.453, allocations: 100.7 kB / 1.383 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/1.453, allocations: 41.89 kB / 1.383 GB, free: 10.86 MB / 1.076 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.0004847/1.454, allocations: 265.7 kB / 1.384 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/1.454, allocations: 88.16 kB / 1.384 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/1.457, allocations: 1.198 MB / 1.385 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.457, allocations: 9.656 kB / 1.385 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.457, allocations: 1.031 kB / 1.385 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.457, allocations: 3.984 kB / 1.385 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.458, allocations: 0.9198 MB / 1.386 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.458, allocations: 7.984 kB / 1.386 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/1.459, allocations: 165.8 kB / 1.386 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/1.46, allocations: 74.69 kB / 1.386 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/1.46, allocations: 28.56 kB / 1.386 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/1.462, allocations: 1.665 MB / 1.388 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.462, allocations: 5.203 kB / 1.388 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.464, allocations: 0.9988 MB / 1.389 GB, free: 6.973 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/1.465, allocations: 289.1 kB / 1.389 GB, free: 6.719 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.465, allocations: 17.44 kB / 1.389 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/1.465, allocations: 75.17 kB / 1.389 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.466, allocations: 73.3 kB / 1.389 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/1.466, allocations: 39.31 kB / 1.389 GB, free: 6.613 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005871/1.466, allocations: 459 kB / 1.39 GB, free: 6.352 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.466, allocations: 0 / 1.39 GB, free: 6.352 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001002/1.467, allocations: 328.4 kB / 1.39 GB, free: 6.262 MB / 1.076 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.001488/1.469, allocations: 0.632 MB / 1.391 GB, free: 5.953 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.471, allocations: 0.9015 MB / 1.391 GB, free: 5.488 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.471, allocations: 0 / 1.391 GB, free: 5.488 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.472, allocations: 0.5554 MB / 1.392 GB, free: 5.176 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.473, allocations: 304.2 kB / 1.392 GB, free: 5.023 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/1.477, allocations: 1.647 MB / 1.394 GB, free: 4.043 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/1.477, allocations: 1.015 MB / 1.395 GB, free: 3.207 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008644/1.478, allocations: 278.9 kB / 1.395 GB, free: 3.066 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/1.478, allocations: 109.2 kB / 1.395 GB, free: 3.031 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/1.478, allocations: 2.531 kB / 1.395 GB, free: 3.031 MB / 1.076 GB Notification: Performance of Templates: time 0.03151/1.51, allocations: 16.34 MB / 1.411 GB, free: 6.121 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches