Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002027/0.002027, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.582/2.582, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 72.38 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3194, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007322/0.3267, allocations: 4.827 MB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6646/0.9914, allocations: 150.6 MB / 1.17 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009239/0.9924, allocations: 16.12 kB / 1.17 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.9931, allocations: 188.7 kB / 1.17 GB, free: 420 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.9951, allocations: 0.5553 MB / 1.17 GB, free: 92 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.9973, allocations: 0.8288 MB / 1.171 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001903/0.9992, allocations: 1.376 MB / 1.173 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/1, allocations: 0.5915 MB / 1.173 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008534/1.001, allocations: 486.7 kB / 1.174 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/1.002, allocations: 0.4971 MB / 1.174 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/1.002, allocations: 118.2 kB / 1.174 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/1.003, allocations: 459.7 kB / 1.175 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/1.003, allocations: 297.5 kB / 1.175 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005842/1.004, allocations: 0.5578 MB / 1.176 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/1.006, allocations: 1.6 MB / 1.177 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.006, allocations: 3.984 kB / 1.177 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/1.006, allocations: 1.156 kB / 1.177 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.621e-05/1.006, allocations: 0 / 1.177 GB, free: 12.45 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002904/1.009, allocations: 1.419 MB / 1.178 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.009, allocations: 10.45 kB / 1.179 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.01, allocations: 190.3 kB / 1.179 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.011, allocations: 0.7345 MB / 1.179 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/1.012, allocations: 60.66 kB / 1.179 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.012, allocations: 85.66 kB / 1.18 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/1.013, allocations: 0.9203 MB / 1.18 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.013, allocations: 4 kB / 1.18 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/1.013, allocations: 36.91 kB / 1.18 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/1.013, allocations: 20.81 kB / 1.181 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/1.015, allocations: 1.11 MB / 1.182 GB, free: 9.414 MB / 0.8887 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.004813/1.02, allocations: 2.734 MB / 1.184 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/1.022, allocations: 0.891 MB / 1.185 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/1.022, allocations: 300.9 kB / 1.185 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/1.022, allocations: 35.02 kB / 1.185 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009034/1.023, allocations: 494.7 kB / 1.186 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=79): time 2.615e-06/1.023, allocations: 0 / 1.186 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=79): time 0.003267/1.027, allocations: 1.194 MB / 1.187 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.027, allocations: 190.5 kB / 1.187 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000923/1.028, allocations: 0.6212 MB / 1.188 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.262e-05/1.028, allocations: 43.89 kB / 1.188 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/1.028, allocations: 395.5 kB / 1.188 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.028, allocations: 252.9 kB / 1.189 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/1.029, allocations: 162.4 kB / 1.189 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.029, allocations: 387.7 kB / 1.189 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/1.029, allocations: 274.7 kB / 1.189 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/1.03, allocations: 361.1 kB / 1.19 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.031, allocations: 0.6056 MB / 1.19 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.031, allocations: 0 / 1.19 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001998/1.033, allocations: 0.843 MB / 1.191 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.033, allocations: 8.922 kB / 1.191 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.033, allocations: 0 / 1.191 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.034, allocations: 80.91 kB / 1.191 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/1.035, allocations: 165.8 kB / 1.191 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/1.037, allocations: 1.648 MB / 1.193 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/1.038, allocations: 91.03 kB / 1.193 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/1.038, allocations: 37.02 kB / 1.193 GB, free: 1.035 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005031/1.039, allocations: 271.3 kB / 1.193 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.039, allocations: 87.14 kB / 1.193 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/1.041, allocations: 1.058 MB / 1.194 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/1.041, allocations: 14.34 kB / 1.194 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.041, allocations: 3.984 kB / 1.194 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.041, allocations: 7.922 kB / 1.194 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/1.045, allocations: 1.95 MB / 1.196 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/1.045, allocations: 0 / 1.196 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/1.045, allocations: 146.4 kB / 1.196 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/1.046, allocations: 78.5 kB / 1.197 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/1.046, allocations: 23.61 kB / 1.197 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/1.048, allocations: 1.674 MB / 1.198 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.048, allocations: 0.6562 kB / 1.198 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/1.05, allocations: 0.9965 MB / 1.199 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/1.051, allocations: 273 kB / 1.199 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/1.051, allocations: 21.02 kB / 1.199 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/1.052, allocations: 62.86 kB / 1.2 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.052, allocations: 72.17 kB / 1.2 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/1.052, allocations: 34.39 kB / 1.2 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007044/1.053, allocations: 457.8 kB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.053, allocations: 0 / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001211/1.054, allocations: 319.8 kB / 1.2 GB, free: 11.89 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00216/1.056, allocations: 0.6112 MB / 1.201 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002634/1.059, allocations: 1.033 MB / 1.202 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.059, allocations: 1.906 kB / 1.202 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.06, allocations: 0.5125 MB / 1.202 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.062, allocations: 299.6 kB / 1.203 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/1.065, allocations: 1.691 MB / 1.204 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/1.066, allocations: 1.013 MB / 1.205 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/1.066, allocations: 119.4 kB / 1.206 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/1.066, allocations: 3.938 kB / 1.206 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of Templates: time 0.02845/1.095, allocations: 18.47 MB / 1.224 GB, free: 6.25 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches