Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.001473/0.001473, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.504/2.504, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8468, allocations: 151.6 MB / 1.167 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007444/0.8543, allocations: 5.381 MB / 1.173 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1645/1.019, allocations: 150.8 MB / 1.32 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009978/1.02, allocations: 23.88 kB / 1.32 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008957/1.021, allocations: 202.1 kB / 1.32 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/1.023, allocations: 0.622 MB / 1.321 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/1.026, allocations: 0.8886 MB / 1.321 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00227/1.028, allocations: 1.565 MB / 1.323 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/1.029, allocations: 0.6642 MB / 1.324 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/1.03, allocations: 0.5723 MB / 1.324 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009498/1.031, allocations: 0.599 MB / 1.325 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003343/1.032, allocations: 132 kB / 1.325 GB, free: 1.891 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/1.033, allocations: 0.5191 MB / 1.325 GB, free: 1.371 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004215/1.033, allocations: 338.9 kB / 1.326 GB, free: 1.039 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009486/1.034, allocations: 0.6491 MB / 1.326 GB, free: 396 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/1.037, allocations: 1.857 MB / 1.328 GB, free: 14.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.037, allocations: 4 kB / 1.328 GB, free: 14.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/1.037, allocations: 0 / 1.328 GB, free: 14.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.913e-05/1.037, allocations: 0 / 1.328 GB, free: 14.52 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003674/1.041, allocations: 1.581 MB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.041, allocations: 8.922 kB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/1.042, allocations: 207.2 kB / 1.33 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/1.043, allocations: 0.813 MB / 1.331 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/1.043, allocations: 78.02 kB / 1.331 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.044, allocations: 92 kB / 1.331 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/1.046, allocations: 1.071 MB / 1.332 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.046, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.046, allocations: 43.98 kB / 1.332 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/1.046, allocations: 24 kB / 1.332 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/1.048, allocations: 1.225 MB / 1.333 GB, free: 9.219 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.005109/1.053, allocations: 3.152 MB / 1.336 GB, free: 5.934 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/1.055, allocations: 0.899 MB / 1.337 GB, free: 5.035 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/1.055, allocations: 343.7 kB / 1.337 GB, free: 4.699 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/1.055, allocations: 37.02 kB / 1.338 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009107/1.056, allocations: 0.5475 MB / 1.338 GB, free: 4.094 MB / 1.061 GB Notification: Performance of pre-optimization done (n=92): time 3.146e-06/1.056, allocations: 0 / 1.338 GB, free: 4.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=92): time 0.003537/1.06, allocations: 1.344 MB / 1.339 GB, free: 2.727 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.06, allocations: 192.9 kB / 1.34 GB, free: 2.492 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/1.061, allocations: 0.6764 MB / 1.34 GB, free: 1.805 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.956e-05/1.061, allocations: 45.7 kB / 1.34 GB, free: 1.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/1.061, allocations: 444.3 kB / 1.341 GB, free: 1.312 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/1.062, allocations: 299.7 kB / 1.341 GB, free: 1.016 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/1.062, allocations: 186.4 kB / 1.341 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.062, allocations: 394.7 kB / 1.342 GB, free: 444 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/1.063, allocations: 301.8 kB / 1.342 GB, free: 144 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/1.063, allocations: 419 kB / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.065, allocations: 0.6828 MB / 1.343 GB, free: 15.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.065, allocations: 4 kB / 1.343 GB, free: 15.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00226/1.067, allocations: 0.9541 MB / 1.344 GB, free: 14.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.067, allocations: 11.06 kB / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.067, allocations: 0 / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/1.068, allocations: 84.75 kB / 1.344 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/1.068, allocations: 195.7 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.071, allocations: 1.641 MB / 1.346 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/1.071, allocations: 103.2 kB / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.072, allocations: 39.97 kB / 1.346 GB, free: 11.84 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0005728/1.072, allocations: 279.9 kB / 1.346 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/1.072, allocations: 94.88 kB / 1.346 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/1.075, allocations: 1.227 MB / 1.347 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.075, allocations: 8 kB / 1.347 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.075, allocations: 4 kB / 1.347 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.075, allocations: 3.984 kB / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/1.077, allocations: 1.005 MB / 1.348 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.077, allocations: 8 kB / 1.348 GB, free: 9.152 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/1.077, allocations: 167.7 kB / 1.349 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/1.078, allocations: 76.78 kB / 1.349 GB, free: 8.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/1.078, allocations: 31.97 kB / 1.349 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.08, allocations: 1.651 MB / 1.35 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.08, allocations: 0 / 1.35 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/1.082, allocations: 1.053 MB / 1.351 GB, free: 6.004 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/1.082, allocations: 299.5 kB / 1.352 GB, free: 5.691 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/1.083, allocations: 20 kB / 1.352 GB, free: 5.672 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/1.083, allocations: 67.92 kB / 1.352 GB, free: 5.605 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.084, allocations: 80.88 kB / 1.352 GB, free: 5.527 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/1.084, allocations: 39.98 kB / 1.352 GB, free: 5.488 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007038/1.084, allocations: 0.4912 MB / 1.352 GB, free: 5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 0 / 1.352 GB, free: 5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001114/1.086, allocations: 379.1 kB / 1.353 GB, free: 4.629 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001626/1.087, allocations: 0.6281 MB / 1.353 GB, free: 4.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.089, allocations: 0.9328 MB / 1.354 GB, free: 3.215 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.089, allocations: 0 / 1.354 GB, free: 3.215 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.09, allocations: 0.5706 MB / 1.355 GB, free: 2.633 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.092, allocations: 321.2 kB / 1.355 GB, free: 2.344 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/1.095, allocations: 1.899 MB / 1.357 GB, free: 420 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/1.096, allocations: 1.067 MB / 1.358 GB, free: 15.32 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/1.096, allocations: 135.4 kB / 1.358 GB, free: 15.18 MB / 1.092 GB Notification: Performance of SimCode: time 5.81e-07/1.096, allocations: 0 / 1.358 GB, free: 15.18 MB / 1.092 GB Notification: Performance of Templates: time 0.02919/1.125, allocations: 20.92 MB / 1.378 GB, free: 10.29 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches