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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001069/0.001068, allocations: 108 kB / 15.61 MB, free: 152 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.001171/0.001171, allocations: 194.6 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 64.73 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3775, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006624/0.3841, allocations: 5.005 MB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.5509, allocations: 150.7 MB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.552, allocations: 15.94 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.5526, allocations: 194.1 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5547, allocations: 0.5627 MB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.5571, allocations: 0.8927 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.559, allocations: 1.452 MB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009696/0.56, allocations: 0.6023 MB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.5608, allocations: 0.5139 MB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.5615, allocations: 0.5368 MB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.5617, allocations: 120 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.5628, allocations: 491.6 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.5631, allocations: 311 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.5637, allocations: 0.5946 MB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.5656, allocations: 1.667 MB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5657, allocations: 4 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5657, allocations: 0 / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.5657, allocations: 4 kB / 1.228 GB, free: 6.055 MB / 0.9825 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.002708/0.5684, allocations: 1.504 MB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5685, allocations: 8.031 kB / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009314/0.5694, allocations: 191.4 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.5704, allocations: 0.7623 MB / 1.23 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.5705, allocations: 66 kB / 1.231 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5706, allocations: 91.94 kB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.5722, allocations: 0.9769 MB / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5722, allocations: 0 / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.5723, allocations: 39.98 kB / 1.232 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5723, allocations: 24 kB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.5741, allocations: 1.159 MB / 1.233 GB, free: 1.105 MB / 0.9825 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.004688/0.5788, allocations: 2.903 MB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.5809, allocations: 0.9926 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.5815, allocations: 326.7 kB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.5816, allocations: 28.61 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/0.5826, allocations: 0.5335 MB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 3.116e-06/0.5826, allocations: 0 / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003325/0.5859, allocations: 1.298 MB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.586, allocations: 200.9 kB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.5869, allocations: 0.649 MB / 1.24 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.587, allocations: 41.7 kB / 1.24 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.5873, allocations: 408.4 kB / 1.24 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.5875, allocations: 280 kB / 1.24 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.5878, allocations: 186.4 kB / 1.24 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.588, allocations: 386.8 kB / 1.241 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.5885, allocations: 289.8 kB / 1.241 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.5892, allocations: 399 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5903, allocations: 0.6516 MB / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5904, allocations: 0 / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002037/0.5924, allocations: 0.9151 MB / 1.243 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5924, allocations: 8 kB / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5924, allocations: 0 / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.5931, allocations: 80.84 kB / 1.243 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.5938, allocations: 179.7 kB / 1.243 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.596, allocations: 1.631 MB / 1.245 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/0.5969, allocations: 111.3 kB / 1.245 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/0.597, allocations: 35.97 kB / 1.245 GB, free: 4.168 MB / 0.9981 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.0005487/0.5976, allocations: 274 kB / 1.245 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.5978, allocations: 86.97 kB / 1.245 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.6003, allocations: 1.199 MB / 1.246 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.6004, allocations: 8 kB / 1.246 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.6004, allocations: 4 kB / 1.246 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6004, allocations: 11.97 kB / 1.246 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.6038, allocations: 2.098 MB / 1.249 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6038, allocations: 0 / 1.249 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.6044, allocations: 167.7 kB / 1.249 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.6049, allocations: 76.72 kB / 1.249 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.6049, allocations: 31.97 kB / 1.249 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.668/1.273, allocations: 1.644 MB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.273, allocations: 4.062 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/1.276, allocations: 1.088 MB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/1.276, allocations: 290.4 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/1.276, allocations: 21.03 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/1.277, allocations: 69.92 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/1.277, allocations: 81.17 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/1.277, allocations: 40.28 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007008/1.278, allocations: 474.7 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.278, allocations: 0.9688 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001135/1.279, allocations: 353.5 kB / 1.253 GB, free: 182.1 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.001473/1.281, allocations: 0.6305 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003122/1.284, allocations: 1.133 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.284, allocations: 0.875 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.285, allocations: 0.5616 MB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.286, allocations: 311.9 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/1.29, allocations: 1.783 MB / 1.257 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/1.29, allocations: 1.049 MB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000848/1.291, allocations: 274.5 kB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/1.291, allocations: 115.8 kB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.291, allocations: 0 / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03602/1.327, allocations: 16.12 MB / 1.274 GB, free: 177.5 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/jenkins/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