Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_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_latest_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.001047/0.001047, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008039/0.008039, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004023, allocations: 11.94 kB / 0.9027 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3127, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005776/0.3185, allocations: 4.918 MB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1453/0.4639, allocations: 146.9 MB / 1.207 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007264/0.4646, allocations: 15.94 kB / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.4652, allocations: 162.7 kB / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.4669, allocations: 0.5114 MB / 1.208 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.469, allocations: 0.7731 MB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.4708, allocations: 1.455 MB / 1.21 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.472, allocations: 0.6397 MB / 1.21 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/0.4729, allocations: 410 kB / 1.211 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.4735, allocations: 457.5 kB / 1.211 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/0.4736, allocations: 28 kB / 1.211 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.4748, allocations: 387.6 kB / 1.212 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.475, allocations: 211 kB / 1.212 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.4756, allocations: 0.5336 MB / 1.212 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.4777, allocations: 1.69 MB / 1.214 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4777, allocations: 0 / 1.214 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.995e-06/0.4777, allocations: 0 / 1.214 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.4777, allocations: 0 / 1.214 GB, free: 5.344 MB / 0.9669 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.002778/0.4805, allocations: 1.344 MB / 1.215 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.4806, allocations: 15.97 kB / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.4816, allocations: 215.1 kB / 1.215 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.4828, allocations: 0.7896 MB / 1.216 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-05/0.4829, allocations: 78.02 kB / 1.216 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.483, allocations: 96 kB / 1.216 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.4849, allocations: 1.071 MB / 1.217 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.4849, allocations: 0 / 1.217 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.485, allocations: 44 kB / 1.217 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.485, allocations: 24 kB / 1.217 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.487, allocations: 1.233 MB / 1.219 GB, free: 284 kB / 0.9669 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.005071/0.4921, allocations: 3.22 MB / 1.222 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.4937, allocations: 0.8977 MB / 1.223 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.4943, allocations: 351.6 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.4944, allocations: 37.02 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009219/0.4953, allocations: 0.563 MB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=92): time 2.585e-06/0.4953, allocations: 0 / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92): time 0.003382/0.4987, allocations: 1.36 MB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.4988, allocations: 188.9 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.4997, allocations: 0.6841 MB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/0.4998, allocations: 45.7 kB / 1.226 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.5001, allocations: 444.2 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.5003, allocations: 295.8 kB / 1.227 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5004, allocations: 81.61 kB / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5006, allocations: 398.7 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.5012, allocations: 309.8 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.5019, allocations: 411.1 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.5032, allocations: 0.7023 MB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5032, allocations: 4 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002091/0.5053, allocations: 0.958 MB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5054, allocations: 4 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5054, allocations: 4 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000602/0.506, allocations: 84.83 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.5068, allocations: 195.7 kB / 1.23 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.5088, allocations: 1.521 MB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/0.5097, allocations: 132.3 kB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.5098, allocations: 39.97 kB / 1.231 GB, free: 2.961 MB / 0.9825 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.0004631/0.5102, allocations: 287.9 kB / 1.232 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5104, allocations: 91.06 kB / 1.232 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.513, allocations: 1.238 MB / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5131, allocations: 12 kB / 1.233 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5131, allocations: 4 kB / 1.233 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5131, allocations: 3.984 kB / 1.233 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.5142, allocations: 1.013 MB / 1.234 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5142, allocations: 3.938 kB / 1.234 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.5149, allocations: 167.7 kB / 1.234 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005398/0.5155, allocations: 88.91 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.5155, allocations: 35.97 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.5173, allocations: 1.544 MB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5173, allocations: 0 / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.5194, allocations: 1.053 MB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.5199, allocations: 311.5 kB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.52, allocations: 20 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/0.5207, allocations: 95.83 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5209, allocations: 88.81 kB / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.521, allocations: 40.03 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006259/0.5217, allocations: 495 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5217, allocations: 0 / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001002/0.5227, allocations: 379.1 kB / 1.238 GB, free: 11.78 MB / 0.9981 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.001421/0.5241, allocations: 0.6301 MB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.5259, allocations: 0.9367 MB / 1.24 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5259, allocations: 7.938 kB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.527, allocations: 0.5744 MB / 1.24 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5284, allocations: 286.9 kB / 1.24 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.5319, allocations: 2.375 MB / 1.243 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.5324, allocations: 1.072 MB / 1.244 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009287/0.5334, allocations: 279.4 kB / 1.244 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.5337, allocations: 119.4 kB / 1.244 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.5337, allocations: 0 / 1.244 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of Templates: time 0.6024/1.136, allocations: 16.08 MB / 1.26 GB, free: 186.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches