Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009023, allocations: 98.88 kB / 16.02 MB, free: 76 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.001075/0.001075, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 462.7 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004007, allocations: 15.52 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006193/0.3477, allocations: 4.591 MB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1707/0.5184, allocations: 146.8 MB / 1.207 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.5195, allocations: 15.94 kB / 1.207 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.5201, allocations: 154.8 kB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.5219, allocations: 485.6 kB / 1.208 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.5242, allocations: 0.7725 MB / 1.209 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.5258, allocations: 1.362 MB / 1.21 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.5267, allocations: 0.5746 MB / 1.21 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.5273, allocations: 378.2 kB / 1.211 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.5278, allocations: 421.8 kB / 1.211 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.293e-05/0.5279, allocations: 28 kB / 1.211 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009194/0.5288, allocations: 395.6 kB / 1.212 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.5291, allocations: 203 kB / 1.212 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.5295, allocations: 0.4909 MB / 1.212 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.5307, allocations: 1.231 MB / 1.213 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5308, allocations: 0 / 1.213 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.837e-06/0.5308, allocations: 0 / 1.213 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.5308, allocations: 3.938 kB / 1.213 GB, free: 6.516 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002423/0.5332, allocations: 1.269 MB / 1.215 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5333, allocations: 15.97 kB / 1.215 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.5342, allocations: 207.3 kB / 1.215 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.5352, allocations: 0.7662 MB / 1.216 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.5353, allocations: 66 kB / 1.216 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5354, allocations: 88 kB / 1.216 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.537, allocations: 0.9847 MB / 1.217 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.537, allocations: 0 / 1.217 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-05/0.5371, allocations: 36 kB / 1.217 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5372, allocations: 23.98 kB / 1.217 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.5389, allocations: 1.167 MB / 1.218 GB, free: 1.762 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.004351/0.5433, allocations: 2.96 MB / 1.221 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.5453, allocations: 0.981 MB / 1.222 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.5459, allocations: 326.7 kB / 1.222 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.737e-05/0.546, allocations: 36.69 kB / 1.222 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009271/0.5469, allocations: 0.5335 MB / 1.223 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.345e-06/0.547, allocations: 0 / 1.223 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003274/0.5502, allocations: 1.325 MB / 1.224 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5504, allocations: 192.9 kB / 1.224 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.5512, allocations: 0.6451 MB / 1.225 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/0.5513, allocations: 49.64 kB / 1.225 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.5517, allocations: 408.4 kB / 1.225 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.5519, allocations: 284 kB / 1.226 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.552, allocations: 73.69 kB / 1.226 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5522, allocations: 394.7 kB / 1.226 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.5527, allocations: 289.8 kB / 1.226 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.5534, allocations: 403.1 kB / 1.227 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.5546, allocations: 0.6594 MB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5546, allocations: 0 / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002054/0.5566, allocations: 0.9229 MB / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5567, allocations: 4 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5567, allocations: 3.938 kB / 1.228 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.5573, allocations: 92.77 kB / 1.228 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.558, allocations: 175.8 kB / 1.228 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.56, allocations: 1.537 MB / 1.23 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.5609, allocations: 115.4 kB / 1.23 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.561, allocations: 35.97 kB / 1.23 GB, free: 4.938 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.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 (104): * Single equations (assignments): 103 * 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.0005021/0.5615, allocations: 279.9 kB / 1.23 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.5616, allocations: 90.88 kB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.5641, allocations: 1.195 MB / 1.232 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.5641, allocations: 11.94 kB / 1.232 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5642, allocations: 4 kB / 1.232 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5642, allocations: 7.984 kB / 1.232 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.5675, allocations: 2.105 MB / 1.234 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5675, allocations: 0 / 1.234 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.5681, allocations: 171.7 kB / 1.234 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.5686, allocations: 88.77 kB / 1.234 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.5687, allocations: 23.98 kB / 1.234 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.5705, allocations: 1.555 MB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5705, allocations: 0 / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.5726, allocations: 1.097 MB / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.5731, allocations: 307.6 kB / 1.237 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.5732, allocations: 16 kB / 1.237 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/0.5739, allocations: 97.39 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5742, allocations: 80.88 kB / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.5743, allocations: 39.97 kB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006168/0.5749, allocations: 471 kB / 1.238 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5749, allocations: 0 / 1.238 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009574/0.5759, allocations: 351.2 kB / 1.238 GB, free: 12.72 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.001509/0.5774, allocations: 0.631 MB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.5792, allocations: 0.8977 MB / 1.239 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5793, allocations: 0 / 1.239 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.5803, allocations: 0.5705 MB / 1.24 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.5816, allocations: 275 kB / 1.24 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.5851, allocations: 2.267 MB / 1.242 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.5857, allocations: 1.048 MB / 1.243 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.5861, allocations: 123.4 kB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.5861, allocations: 4 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of Templates: time 0.5992/1.185, allocations: 19.39 MB / 1.262 GB, free: 184.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches