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.001854/0.001854, allocations: 115.5 kB / 16.37 MB, free: 5.984 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.002074/0.002074, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 61.11 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3128, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008335/0.3212, allocations: 4.929 MB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6661/0.9873, allocations: 150.6 MB / 1.179 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008076/0.9882, allocations: 19.91 kB / 1.179 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.9887, allocations: 192.3 kB / 1.179 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.9904, allocations: 0.5518 MB / 1.179 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.9921, allocations: 0.8528 MB / 1.18 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.9935, allocations: 1.433 MB / 1.182 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.9944, allocations: 0.5928 MB / 1.182 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.995, allocations: 499.6 kB / 1.183 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.9956, allocations: 0.5211 MB / 1.183 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.9957, allocations: 118.1 kB / 1.183 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008654/0.9966, allocations: 487.3 kB / 1.184 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.9969, allocations: 310.4 kB / 1.184 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.9974, allocations: 0.5726 MB / 1.185 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.999, allocations: 1.661 MB / 1.186 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.999, allocations: 3.984 kB / 1.186 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.999, allocations: 0 / 1.186 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.999, allocations: 1.281 kB / 1.186 GB, free: 1.859 MB / 0.8887 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.002439/1.001, allocations: 1.458 MB / 1.188 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.001, allocations: 13.03 kB / 1.188 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008824/1.002, allocations: 188.7 kB / 1.188 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/1.003, allocations: 0.773 MB / 1.189 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/1.004, allocations: 63.97 kB / 1.189 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/1.004, allocations: 83.41 kB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/1.005, allocations: 0.943 MB / 1.19 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.005, allocations: 0 / 1.19 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/1.005, allocations: 39.97 kB / 1.19 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/1.005, allocations: 21.66 kB / 1.19 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/1.007, allocations: 1.123 MB / 1.191 GB, free: 14.75 MB / 0.9044 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.004053/1.011, allocations: 2.714 MB / 1.193 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.013, allocations: 0.9135 MB / 1.194 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/1.013, allocations: 312.1 kB / 1.195 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.927e-05/1.013, allocations: 39.95 kB / 1.195 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009321/1.014, allocations: 0.5093 MB / 1.195 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 2.816e-06/1.014, allocations: 3.938 kB / 1.195 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84): time 0.003473/1.018, allocations: 1.255 MB / 1.196 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.018, allocations: 194 kB / 1.197 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/1.019, allocations: 0.6395 MB / 1.197 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/1.019, allocations: 44.92 kB / 1.197 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/1.019, allocations: 392.4 kB / 1.198 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/1.02, allocations: 279.1 kB / 1.198 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/1.02, allocations: 169.4 kB / 1.198 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002065/1.02, allocations: 389.5 kB / 1.198 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007375/1.021, allocations: 276.7 kB / 1.199 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/1.021, allocations: 378.4 kB / 1.199 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.023, allocations: 0.6252 MB / 1.2 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.023, allocations: 4 kB / 1.2 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002038/1.025, allocations: 0.878 MB / 1.201 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.025, allocations: 7.375 kB / 1.201 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.025, allocations: 3.812 kB / 1.201 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/1.025, allocations: 85.61 kB / 1.201 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/1.026, allocations: 171.5 kB / 1.201 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.028, allocations: 1.631 MB / 1.202 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/1.029, allocations: 95.42 kB / 1.202 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/1.029, allocations: 41.47 kB / 1.203 GB, free: 6.262 MB / 0.9044 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.0005012/1.03, allocations: 274.7 kB / 1.203 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.03, allocations: 84.62 kB / 1.203 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/1.032, allocations: 1.131 MB / 1.204 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.032, allocations: 10.97 kB / 1.204 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.032, allocations: 3.938 kB / 1.204 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.032, allocations: 7.969 kB / 1.204 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/1.036, allocations: 2.009 MB / 1.206 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.036, allocations: 0 / 1.206 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/1.036, allocations: 162.1 kB / 1.206 GB, free: 4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/1.037, allocations: 70.81 kB / 1.206 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/1.037, allocations: 33.69 kB / 1.206 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/1.039, allocations: 1.658 MB / 1.208 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.039, allocations: 0 / 1.208 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/1.041, allocations: 1.046 MB / 1.209 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/1.042, allocations: 281.7 kB / 1.209 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/1.042, allocations: 25.27 kB / 1.209 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/1.043, allocations: 59.95 kB / 1.209 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/1.043, allocations: 83.28 kB / 1.209 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/1.043, allocations: 38.5 kB / 1.209 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005727/1.044, allocations: 463.4 kB / 1.21 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.044, allocations: 4 kB / 1.21 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009776/1.045, allocations: 330.7 kB / 1.21 GB, free: 0.8398 MB / 0.9044 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.00143/1.046, allocations: 0.6096 MB / 1.211 GB, free: 420 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.048, allocations: 0.8675 MB / 1.212 GB, free: 15.53 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.048, allocations: 0 / 1.212 GB, free: 15.53 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009404/1.049, allocations: 0.5353 MB / 1.212 GB, free: 14.98 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.05, allocations: 310.9 kB / 1.212 GB, free: 14.7 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/1.053, allocations: 1.698 MB / 1.214 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/1.054, allocations: 1.032 MB / 1.215 GB, free: 11.92 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007815/1.054, allocations: 270.8 kB / 1.215 GB, free: 11.65 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/1.055, allocations: 103.4 kB / 1.215 GB, free: 11.55 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/1.055, allocations: 4 kB / 1.215 GB, free: 11.55 MB / 0.92 GB Notification: Performance of Templates: time 0.02596/1.081, allocations: 15.61 MB / 1.231 GB, free: 12.11 MB / 0.9356 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 -s cvode -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