Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001171/0.001171, allocations: 105.1 kB / 16.41 MB, free: 6.457 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.001237/0.001237, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7796/0.7811, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007062/0.7882, allocations: 4.932 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.9522, allocations: 150.6 MB / 1.319 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.9533, allocations: 15.94 kB / 1.319 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008334/0.9542, allocations: 190.2 kB / 1.319 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.9565, allocations: 0.56 MB / 1.32 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.9589, allocations: 0.8608 MB / 1.321 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.9609, allocations: 1.421 MB / 1.322 GB, free: 4.637 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.9621, allocations: 0.591 MB / 1.323 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009334/0.963, allocations: 0.4983 MB / 1.323 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/0.9639, allocations: 0.5212 MB / 1.324 GB, free: 2.996 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.9643, allocations: 120 kB / 1.324 GB, free: 2.879 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.9655, allocations: 487.5 kB / 1.324 GB, free: 2.402 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.9659, allocations: 307 kB / 1.325 GB, free: 2.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008045/0.9667, allocations: 0.5674 MB / 1.325 GB, free: 1.531 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.9691, allocations: 1.661 MB / 1.327 GB, free: 15.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9691, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.767e-06/0.9691, allocations: 4 kB / 1.327 GB, free: 15.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.953e-05/0.9692, allocations: 3.938 kB / 1.327 GB, free: 15.86 MB / 1.061 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.002776/0.972, allocations: 1.467 MB / 1.328 GB, free: 14.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.972, allocations: 12.03 kB / 1.328 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/0.9729, allocations: 187.4 kB / 1.328 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.9742, allocations: 0.7702 MB / 1.329 GB, free: 13.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.848e-05/0.9742, allocations: 66 kB / 1.329 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.9744, allocations: 87.97 kB / 1.329 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.9759, allocations: 0.9418 MB / 1.33 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.9759, allocations: 0 / 1.33 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.976, allocations: 36 kB / 1.33 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.976, allocations: 20 kB / 1.33 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.9778, allocations: 1.124 MB / 1.331 GB, free: 11.02 MB / 1.061 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.004179/0.982, allocations: 2.732 MB / 1.334 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.9835, allocations: 0.9071 MB / 1.335 GB, free: 7.246 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/0.9841, allocations: 316.2 kB / 1.335 GB, free: 6.938 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.134e-05/0.9842, allocations: 32.69 kB / 1.335 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008676/0.9851, allocations: 0.5081 MB / 1.336 GB, free: 6.379 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 3.396e-06/0.9851, allocations: 4 kB / 1.336 GB, free: 6.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=84): time 0.003474/0.9886, allocations: 1.251 MB / 1.337 GB, free: 5.098 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.9887, allocations: 192.9 kB / 1.337 GB, free: 4.863 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/0.9897, allocations: 0.6526 MB / 1.338 GB, free: 4.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.68e-05/0.9898, allocations: 41.7 kB / 1.338 GB, free: 4.152 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.9902, allocations: 396.5 kB / 1.338 GB, free: 3.758 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.9905, allocations: 268.1 kB / 1.339 GB, free: 3.492 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.9908, allocations: 170.4 kB / 1.339 GB, free: 3.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.991, allocations: 390.7 kB / 1.339 GB, free: 2.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.9916, allocations: 277.9 kB / 1.339 GB, free: 2.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.9922, allocations: 379.1 kB / 1.34 GB, free: 2.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9934, allocations: 0.6242 MB / 1.34 GB, free: 1.641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.9935, allocations: 0 / 1.34 GB, free: 1.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002211/0.9957, allocations: 0.88 MB / 1.341 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.9957, allocations: 4 kB / 1.341 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9957, allocations: 3.938 kB / 1.341 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/0.9964, allocations: 80.88 kB / 1.341 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.9971, allocations: 171.7 kB / 1.341 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.9994, allocations: 1.638 MB / 1.343 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008783/1, allocations: 99.41 kB / 1.343 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1, allocations: 43.91 kB / 1.343 GB, free: 14.57 MB / 1.076 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.0005497/1.001, allocations: 267.7 kB / 1.343 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/1.001, allocations: 86.97 kB / 1.343 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/1.004, allocations: 1.128 MB / 1.345 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.004, allocations: 15.94 kB / 1.345 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.004, allocations: 4 kB / 1.345 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.004, allocations: 3.984 kB / 1.345 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/1.008, allocations: 2.021 MB / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.008, allocations: 0 / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/1.008, allocations: 151.8 kB / 1.347 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/1.009, allocations: 72.78 kB / 1.347 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/1.009, allocations: 23.98 kB / 1.347 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/1.011, allocations: 1.662 MB / 1.348 GB, free: 8.906 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.011, allocations: 4.062 kB / 1.348 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.013, allocations: 1.041 MB / 1.349 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/1.014, allocations: 283.6 kB / 1.35 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/1.014, allocations: 20 kB / 1.35 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/1.015, allocations: 67.86 kB / 1.35 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.015, allocations: 80.89 kB / 1.35 GB, free: 7.379 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/1.015, allocations: 43.97 kB / 1.35 GB, free: 7.336 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006612/1.016, allocations: 463 kB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/1.016, allocations: 0 / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009692/1.017, allocations: 327.3 kB / 1.351 GB, free: 6.57 MB / 1.076 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.001435/1.018, allocations: 0.6112 MB / 1.351 GB, free: 6.125 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001809/1.02, allocations: 0.8741 MB / 1.352 GB, free: 5.238 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.02, allocations: 0 / 1.352 GB, free: 5.238 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000994/1.021, allocations: 0.5472 MB / 1.353 GB, free: 4.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.022, allocations: 306.1 kB / 1.353 GB, free: 4.398 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/1.026, allocations: 1.718 MB / 1.355 GB, free: 2.645 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/1.026, allocations: 1.032 MB / 1.356 GB, free: 1.582 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/1.027, allocations: 119.4 kB / 1.356 GB, free: 1.465 MB / 1.076 GB Notification: Performance of SimCode: time 9.01e-07/1.027, allocations: 8 kB / 1.356 GB, free: 1.457 MB / 1.076 GB Notification: Performance of Templates: time 0.02729/1.054, allocations: 19.02 MB / 1.374 GB, free: 14.46 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches