Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008617/0.008617, allocations: 101.8 kB / 15.88 MB, free: 5.863 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.001848/0.001848, allocations: 194.4 kB / 16.79 MB, free: 5.805 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.469/1.469, allocations: 222.9 MB / 240.5 MB, free: 4.562 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: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.8 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3488, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007836/0.3566, allocations: 4.93 MB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1616/0.5183, allocations: 148.3 MB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.5194, allocations: 15.94 kB / 1.202 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008852/0.5203, allocations: 150.8 kB / 1.203 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.5223, allocations: 481.2 kB / 1.203 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.5245, allocations: 0.735 MB / 1.204 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.5262, allocations: 1.339 MB / 1.205 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009849/0.5272, allocations: 0.5633 MB / 1.206 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007776/0.528, allocations: 450.2 kB / 1.206 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007678/0.5288, allocations: 493.7 kB / 1.206 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.529, allocations: 56 kB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.5299, allocations: 403.6 kB / 1.207 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.5303, allocations: 239 kB / 1.207 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.5309, allocations: 0.5128 MB / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.5324, allocations: 1.216 MB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.5324, allocations: 0 / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5324, allocations: 3.938 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.974e-05/0.5325, allocations: 4 kB / 1.209 GB, free: 7.773 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003355/0.5358, allocations: 1.455 MB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5359, allocations: 12.03 kB / 1.21 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5369, allocations: 183.4 kB / 1.21 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.5381, allocations: 0.7701 MB / 1.211 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.5382, allocations: 58 kB / 1.211 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5383, allocations: 84 kB / 1.211 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.5401, allocations: 0.9417 MB / 1.212 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5402, allocations: 3.938 kB / 1.212 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5403, allocations: 40 kB / 1.212 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.5403, allocations: 20 kB / 1.212 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.5422, allocations: 1.128 MB / 1.213 GB, free: 2.949 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.004657/0.5469, allocations: 2.751 MB / 1.216 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.5486, allocations: 0.912 MB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.5492, allocations: 318.7 kB / 1.217 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-05/0.5493, allocations: 32.67 kB / 1.217 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.5503, allocations: 0.512 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 3.216e-06/0.5503, allocations: 0 / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.00344/0.5538, allocations: 1.251 MB / 1.219 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.5539, allocations: 192.9 kB / 1.219 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.5549, allocations: 0.6486 MB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.555, allocations: 45.7 kB / 1.22 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.5554, allocations: 400.4 kB / 1.22 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.5556, allocations: 264.2 kB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.5559, allocations: 174.5 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5561, allocations: 386.8 kB / 1.221 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.5567, allocations: 277.8 kB / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.5574, allocations: 371.1 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.5586, allocations: 0.6281 MB / 1.222 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5586, allocations: 0 / 1.222 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002127/0.5608, allocations: 0.8761 MB / 1.223 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.5608, allocations: 11.94 kB / 1.223 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5608, allocations: 3.938 kB / 1.223 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.5615, allocations: 84.86 kB / 1.223 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.5622, allocations: 163.8 kB / 1.223 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.5644, allocations: 1.531 MB / 1.225 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.5653, allocations: 91.31 kB / 1.225 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.5654, allocations: 39.97 kB / 1.225 GB, free: 6.594 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,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 (99): * Single equations (assignments): 98 * 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.0005096/0.5659, allocations: 275.8 kB / 1.225 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.5662, allocations: 94.89 kB / 1.225 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.5688, allocations: 1.132 MB / 1.227 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5689, allocations: 8 kB / 1.227 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5689, allocations: 0 / 1.227 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.5689, allocations: 15.91 kB / 1.227 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.5726, allocations: 2.008 MB / 1.228 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5726, allocations: 4 kB / 1.228 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.5732, allocations: 151.8 kB / 1.229 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005467/0.5738, allocations: 84.77 kB / 1.229 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/0.5739, allocations: 31.97 kB / 1.229 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.5758, allocations: 1.54 MB / 1.23 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5759, allocations: 64 / 1.23 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.5782, allocations: 1.055 MB / 1.231 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.5788, allocations: 279.7 kB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.579, allocations: 23.94 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/0.5798, allocations: 67.92 kB / 1.232 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.58, allocations: 72.89 kB / 1.232 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/0.5801, allocations: 39.97 kB / 1.232 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000682/0.5807, allocations: 467 kB / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5808, allocations: 0 / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001082/0.5818, allocations: 335.1 kB / 1.233 GB, free: 14.68 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 (99): * Single equations (assignments): 92 * 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.001635/0.5835, allocations: 0.6109 MB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.5854, allocations: 0.8547 MB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5855, allocations: 4 kB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.5865, allocations: 0.5432 MB / 1.234 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.588, allocations: 269.3 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.5918, allocations: 2.17 MB / 1.237 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.5925, allocations: 1.04 MB / 1.238 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.5929, allocations: 119.4 kB / 1.238 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/0.5929, allocations: 0 / 1.238 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of Templates: time 0.5502/1.143, allocations: 18.9 MB / 1.256 GB, free: 190.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches