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.001037/0.001037, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 10.69 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3445, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006494/0.3511, allocations: 4.926 MB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.5178, allocations: 146.9 MB / 1.208 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.5189, allocations: 19.88 kB / 1.208 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008507/0.5198, allocations: 158.8 kB / 1.208 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.522, allocations: 0.5161 MB / 1.208 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.5243, allocations: 0.7686 MB / 1.209 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.5266, allocations: 1.459 MB / 1.21 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.5278, allocations: 0.6318 MB / 1.211 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008976/0.5288, allocations: 410 kB / 1.211 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.5297, allocations: 457.5 kB / 1.212 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.5299, allocations: 28 kB / 1.212 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.531, allocations: 387.7 kB / 1.212 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.5313, allocations: 210.9 kB / 1.212 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007354/0.5321, allocations: 0.5298 MB / 1.213 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.5339, allocations: 1.336 MB / 1.214 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5339, allocations: 0 / 1.214 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5339, allocations: 0 / 1.214 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.221e-05/0.5339, allocations: 0 / 1.214 GB, free: 5.676 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.003206/0.5372, allocations: 1.337 MB / 1.216 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5372, allocations: 11.97 kB / 1.216 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.5384, allocations: 223.1 kB / 1.216 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5398, allocations: 0.7896 MB / 1.217 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.825e-05/0.5399, allocations: 74.02 kB / 1.217 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.5401, allocations: 112 kB / 1.217 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.5423, allocations: 1.067 MB / 1.218 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.5423, allocations: 0 / 1.218 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5424, allocations: 44 kB / 1.218 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.5424, allocations: 24 kB / 1.218 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.5446, allocations: 1.233 MB / 1.219 GB, free: 0.6055 MB / 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.005769/0.5504, allocations: 3.211 MB / 1.222 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.5522, allocations: 0.9055 MB / 1.223 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.5529, allocations: 355.6 kB / 1.223 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/0.553, allocations: 37.02 kB / 1.223 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.5541, allocations: 0.5513 MB / 1.224 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=92): time 3.757e-06/0.5541, allocations: 4 kB / 1.224 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92): time 0.003706/0.5579, allocations: 1.356 MB / 1.225 GB, free: 10 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.558, allocations: 200.9 kB / 1.226 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.5592, allocations: 0.6802 MB / 1.226 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/0.5593, allocations: 45.7 kB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.5597, allocations: 444.3 kB / 1.227 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.56, allocations: 303.7 kB / 1.227 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.5601, allocations: 69.69 kB / 1.227 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.5603, allocations: 394.7 kB / 1.227 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.561, allocations: 313.8 kB / 1.228 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.5618, allocations: 415.1 kB / 1.228 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.5631, allocations: 0.6945 MB / 1.229 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5631, allocations: 0 / 1.229 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002297/0.5654, allocations: 0.9697 MB / 1.23 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5655, allocations: 4 kB / 1.23 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.5655, allocations: 0 / 1.23 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.5661, allocations: 88.83 kB / 1.23 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.5669, allocations: 191.7 kB / 1.23 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.5691, allocations: 1.52 MB / 1.231 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/0.5701, allocations: 131.2 kB / 1.232 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-05/0.5702, allocations: 39.97 kB / 1.232 GB, free: 3.289 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.000613/0.5708, allocations: 281.9 kB / 1.232 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.5711, allocations: 94.86 kB / 1.232 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.5741, allocations: 1.234 MB / 1.233 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.5741, allocations: 8 kB / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5741, allocations: 7.984 kB / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5741, allocations: 3.984 kB / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.576, allocations: 1.009 MB / 1.234 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.576, allocations: 3.938 kB / 1.234 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.5767, allocations: 171.7 kB / 1.234 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006061/0.5773, allocations: 92.64 kB / 1.234 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.5774, allocations: 27.98 kB / 1.234 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.5795, allocations: 1.552 MB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5795, allocations: 0 / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.5819, allocations: 1.053 MB / 1.237 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.5825, allocations: 319.5 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.5827, allocations: 16 kB / 1.237 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.5835, allocations: 95.83 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.5837, allocations: 76.83 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.5838, allocations: 43.97 kB / 1.238 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007899/0.5846, allocations: 0.4912 MB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5846, allocations: 0 / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001148/0.5857, allocations: 371.2 kB / 1.238 GB, free: 12.12 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.001707/0.5875, allocations: 0.6434 MB / 1.239 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002035/0.5895, allocations: 0.9328 MB / 1.24 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5895, allocations: 3.938 kB / 1.24 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5907, allocations: 0.5784 MB / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.5922, allocations: 274.8 kB / 1.241 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.5965, allocations: 2.417 MB / 1.243 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/0.5973, allocations: 1.076 MB / 1.244 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.5977, allocations: 127.4 kB / 1.244 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/0.5978, allocations: 0 / 1.244 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of Templates: time 0.5649/1.163, allocations: 20.67 MB / 1.264 GB, free: 185.2 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/jenkins1/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