Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 103.3 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.001469/0.001469, allocations: 189.3 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.493/2.493, allocations: 437 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 64.39 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2973, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00833/0.3057, allocations: 4.796 MB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6864/0.9921, allocations: 150.6 MB / 1.17 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000987/0.9932, allocations: 22.66 kB / 1.17 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008896/0.9941, allocations: 185.5 kB / 1.17 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.9967, allocations: 0.5412 MB / 1.17 GB, free: 416 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.9992, allocations: 0.8324 MB / 1.171 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002135/1.001, allocations: 1.352 MB / 1.173 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.003, allocations: 0.5748 MB / 1.173 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/1.004, allocations: 475.3 kB / 1.174 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009543/1.005, allocations: 0.4917 MB / 1.174 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003467/1.005, allocations: 118.8 kB / 1.174 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/1.006, allocations: 456.8 kB / 1.175 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/1.007, allocations: 291.2 kB / 1.175 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009429/1.008, allocations: 0.5471 MB / 1.175 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/1.011, allocations: 1.569 MB / 1.177 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.011, allocations: 4.953 kB / 1.177 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.763e-06/1.011, allocations: 0 / 1.177 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.197e-05/1.011, allocations: 0 / 1.177 GB, free: 12.81 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003773/1.014, allocations: 1.407 MB / 1.178 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.014, allocations: 13.64 kB / 1.178 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/1.016, allocations: 182.5 kB / 1.178 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/1.017, allocations: 0.7335 MB / 1.179 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/1.017, allocations: 59.31 kB / 1.179 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/1.018, allocations: 85.75 kB / 1.179 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/1.019, allocations: 0.9015 MB / 1.18 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/1.019, allocations: 3.984 kB / 1.18 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/1.02, allocations: 36.25 kB / 1.18 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/1.02, allocations: 20.62 kB / 1.18 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.021, allocations: 1.097 MB / 1.181 GB, free: 9.809 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.004787/1.026, allocations: 2.671 MB / 1.184 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.028, allocations: 0.8657 MB / 1.185 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/1.029, allocations: 306.3 kB / 1.185 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/1.029, allocations: 35.47 kB / 1.185 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009751/1.03, allocations: 493.6 kB / 1.186 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=79): time 4.689e-06/1.03, allocations: 0 / 1.186 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of matching and sorting (n=79): time 0.003418/1.033, allocations: 1.18 MB / 1.187 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.033, allocations: 192.2 kB / 1.187 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.034, allocations: 0.6281 MB / 1.188 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/1.034, allocations: 42.45 kB / 1.188 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/1.035, allocations: 379.2 kB / 1.188 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/1.035, allocations: 264.8 kB / 1.188 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/1.035, allocations: 161.7 kB / 1.188 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002006/1.036, allocations: 389.7 kB / 1.189 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/1.036, allocations: 260.5 kB / 1.189 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/1.037, allocations: 362.5 kB / 1.189 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.038, allocations: 0.5956 MB / 1.19 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.038, allocations: 0 / 1.19 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002063/1.04, allocations: 0.8407 MB / 1.191 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.04, allocations: 8.938 kB / 1.191 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.04, allocations: 0 / 1.191 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/1.041, allocations: 89.17 kB / 1.191 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/1.041, allocations: 153.8 kB / 1.191 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.044, allocations: 1.638 MB / 1.193 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.045, allocations: 85.38 kB / 1.193 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.045, allocations: 39.59 kB / 1.193 GB, free: 1.535 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.0006208/1.046, allocations: 267.1 kB / 1.193 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/1.046, allocations: 86.98 kB / 1.193 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/1.048, allocations: 1.06 MB / 1.194 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.048, allocations: 8.094 kB / 1.194 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.048, allocations: 0 / 1.194 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.048, allocations: 3.984 kB / 1.194 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/1.052, allocations: 1.913 MB / 1.196 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.052, allocations: 0 / 1.196 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/1.052, allocations: 140.4 kB / 1.196 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004832/1.053, allocations: 76.5 kB / 1.196 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/1.053, allocations: 23.98 kB / 1.196 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.055, allocations: 1.649 MB / 1.198 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.055, allocations: 6.188 kB / 1.198 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.057, allocations: 0.9822 MB / 1.199 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/1.058, allocations: 271.5 kB / 1.199 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.058, allocations: 19.44 kB / 1.199 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007413/1.059, allocations: 62.27 kB / 1.199 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/1.059, allocations: 69.69 kB / 1.199 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/1.059, allocations: 28.22 kB / 1.199 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006059/1.06, allocations: 462.3 kB / 1.2 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/1.06, allocations: 0 / 1.2 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009858/1.061, allocations: 323.9 kB / 1.2 GB, free: 12.46 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.001485/1.062, allocations: 0.6011 MB / 1.201 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002374/1.065, allocations: 1.022 MB / 1.202 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.065, allocations: 0 / 1.202 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009782/1.066, allocations: 0.5223 MB / 1.202 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.067, allocations: 290.2 kB / 1.202 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/1.07, allocations: 1.682 MB / 1.204 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/1.071, allocations: 1.016 MB / 1.205 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/1.071, allocations: 114.4 kB / 1.205 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of SimCode: time 8.42e-07/1.071, allocations: 0 / 1.205 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of Templates: time 0.02939/1.101, allocations: 18.2 MB / 1.223 GB, free: 7.164 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches