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.007173/0.007173, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001603/0.001603, allocations: 205.2 kB / 16.68 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.593/2.593, allocations: 437 MB / 0.7105 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 1.018 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3311, allocations: 151.6 MB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006732/0.3379, allocations: 4.688 MB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.074/1.412, allocations: 150.6 MB / 1.318 GB, free: 10.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/1.413, allocations: 16.34 kB / 1.318 GB, free: 10.46 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008794/1.414, allocations: 177.8 kB / 1.318 GB, free: 10.36 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/1.416, allocations: 0.5333 MB / 1.319 GB, free: 10.13 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/1.418, allocations: 0.8418 MB / 1.32 GB, free: 9.969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002033/1.42, allocations: 1.388 MB / 1.321 GB, free: 9.727 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008661/1.421, allocations: 0.5271 MB / 1.322 GB, free: 9.594 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008897/1.422, allocations: 481.5 kB / 1.322 GB, free: 9.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/1.423, allocations: 493.3 kB / 1.323 GB, free: 9.367 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/1.423, allocations: 110.1 kB / 1.323 GB, free: 9.367 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/1.425, allocations: 0.8777 MB / 1.324 GB, free: 9.305 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003052/1.425, allocations: 282.5 kB / 1.324 GB, free: 9.242 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/1.426, allocations: 0.5322 MB / 1.324 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/1.429, allocations: 1.802 MB / 1.326 GB, free: 8.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.429, allocations: 0 / 1.326 GB, free: 8.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/1.429, allocations: 0 / 1.326 GB, free: 8.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.187e-05/1.429, allocations: 0 / 1.326 GB, free: 8.148 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.003248/1.432, allocations: 1.487 MB / 1.328 GB, free: 7.121 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.432, allocations: 12.23 kB / 1.328 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/1.434, allocations: 211.7 kB / 1.328 GB, free: 7.051 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.435, allocations: 0.7706 MB / 1.328 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/1.435, allocations: 61.69 kB / 1.329 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.435, allocations: 72.31 kB / 1.329 GB, free: 6.496 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.437, allocations: 0.8903 MB / 1.329 GB, free: 6.082 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/1.437, allocations: 5.094 kB / 1.329 GB, free: 6.078 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/1.437, allocations: 33 kB / 1.33 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/1.437, allocations: 18.53 kB / 1.33 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/1.44, allocations: 1.125 MB / 1.331 GB, free: 5.805 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.004225/1.444, allocations: 2.597 MB / 1.333 GB, free: 4.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.446, allocations: 0.8264 MB / 1.334 GB, free: 3.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/1.446, allocations: 337.1 kB / 1.334 GB, free: 3.785 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-05/1.446, allocations: 38.44 kB / 1.334 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/1.448, allocations: 0.5237 MB / 1.335 GB, free: 3.559 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/1.448, allocations: 0 / 1.335 GB, free: 3.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.00417/1.452, allocations: 1.295 MB / 1.336 GB, free: 3.031 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.452, allocations: 194 kB / 1.336 GB, free: 2.805 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.453, allocations: 0.6429 MB / 1.337 GB, free: 2.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-05/1.453, allocations: 45.42 kB / 1.337 GB, free: 2.477 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/1.453, allocations: 376.3 kB / 1.337 GB, free: 2.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/1.454, allocations: 283.4 kB / 1.338 GB, free: 1.957 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/1.454, allocations: 173.7 kB / 1.338 GB, free: 1.879 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.454, allocations: 390.3 kB / 1.338 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007836/1.455, allocations: 296.2 kB / 1.338 GB, free: 1.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/1.456, allocations: 404.5 kB / 1.339 GB, free: 1.254 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/1.457, allocations: 0.6712 MB / 1.339 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.457, allocations: 1.125 kB / 1.339 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002537/1.46, allocations: 0.9261 MB / 1.34 GB, free: 0.582 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.46, allocations: 7.656 kB / 1.34 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.46, allocations: 5.25 kB / 1.34 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/1.461, allocations: 84.28 kB / 1.34 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/1.461, allocations: 179.3 kB / 1.341 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/1.464, allocations: 1.645 MB / 1.342 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000892/1.465, allocations: 104.8 kB / 1.342 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/1.465, allocations: 35.31 kB / 1.342 GB, free: 14.94 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.0005004/1.465, allocations: 270.2 kB / 1.343 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.465, allocations: 92.12 kB / 1.343 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/1.468, allocations: 1.203 MB / 1.344 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.468, allocations: 9.344 kB / 1.344 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/1.468, allocations: 0 / 1.344 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.468, allocations: 5.672 kB / 1.344 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/1.47, allocations: 0.9184 MB / 1.345 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.47, allocations: 0 / 1.345 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/1.47, allocations: 160.6 kB / 1.345 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/1.471, allocations: 72.69 kB / 1.345 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/1.471, allocations: 27.62 kB / 1.345 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/1.473, allocations: 1.681 MB / 1.347 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.473, allocations: 4.062 kB / 1.347 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/1.476, allocations: 1.007 MB / 1.348 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/1.477, allocations: 285.3 kB / 1.348 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.477, allocations: 23.36 kB / 1.348 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/1.478, allocations: 72.5 kB / 1.348 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/1.478, allocations: 76.38 kB / 1.348 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.478, allocations: 39.12 kB / 1.348 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009189/1.479, allocations: 459 kB / 1.349 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.479, allocations: 0 / 1.349 GB, free: 11.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001971/1.481, allocations: 327.9 kB / 1.349 GB, free: 11.15 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.002522/1.483, allocations: 0.6375 MB / 1.35 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002817/1.486, allocations: 0.905 MB / 1.35 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.486, allocations: 0 / 1.35 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.487, allocations: 0.5614 MB / 1.351 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.489, allocations: 289.7 kB / 1.351 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/1.493, allocations: 1.683 MB / 1.353 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/1.494, allocations: 1.021 MB / 1.354 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001053/1.495, allocations: 274.5 kB / 1.354 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/1.495, allocations: 114.4 kB / 1.354 GB, free: 8.445 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/1.495, allocations: 0 / 1.354 GB, free: 8.445 MB / 1.029 GB Notification: Performance of Templates: time 0.03049/1.526, allocations: 16.04 MB / 1.37 GB, free: 0.6055 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