Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009352/0.0009351, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.7 MB / 0.7117 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 11.98 kB / 0.8722 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6635, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005102/0.6687, allocations: 4.305 MB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.8198, allocations: 137 MB / 1.16 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009683/0.8208, allocations: 15.94 kB / 1.16 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.8217, allocations: 146.8 kB / 1.161 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.824, allocations: 485.3 kB / 1.161 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.8262, allocations: 0.6391 MB / 1.162 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.8279, allocations: 1.257 MB / 1.163 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.8288, allocations: 455.7 kB / 1.163 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.8295, allocations: 370.4 kB / 1.164 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.8301, allocations: 406 kB / 1.164 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.8302, allocations: 28 kB / 1.164 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.831, allocations: 335.7 kB / 1.164 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.8312, allocations: 199.1 kB / 1.165 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.8315, allocations: 213.1 kB / 1.165 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.8329, allocations: 1.208 MB / 1.166 GB, free: 12.64 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8329, allocations: 0 / 1.166 GB, free: 12.64 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8329, allocations: 0 / 1.166 GB, free: 12.64 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.817e-05/0.8329, allocations: 0 / 1.166 GB, free: 12.64 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002435/0.8354, allocations: 1.269 MB / 1.167 GB, free: 11.31 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8354, allocations: 8.562 kB / 1.167 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.8363, allocations: 202.4 kB / 1.167 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.8374, allocations: 0.7388 MB / 1.168 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.8375, allocations: 66 kB / 1.168 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.8376, allocations: 83.94 kB / 1.168 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.8393, allocations: 0.9652 MB / 1.169 GB, free: 9.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.8393, allocations: 4 kB / 1.169 GB, free: 9.168 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.8394, allocations: 36 kB / 1.169 GB, free: 9.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.8394, allocations: 24 kB / 1.169 GB, free: 9.109 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.8413, allocations: 1.159 MB / 1.17 GB, free: 7.949 MB / 0.92 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.004273/0.8456, allocations: 2.911 MB / 1.173 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.8471, allocations: 0.8486 MB / 1.174 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.8477, allocations: 326.7 kB / 1.174 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.8478, allocations: 36.67 kB / 1.174 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009259/0.8488, allocations: 0.5315 MB / 1.175 GB, free: 3.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=88): time 2.234e-06/0.8488, allocations: 0 / 1.175 GB, free: 3.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=88): time 0.003217/0.852, allocations: 1.302 MB / 1.176 GB, free: 1.836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.8521, allocations: 196.9 kB / 1.176 GB, free: 1.602 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.8529, allocations: 0.6411 MB / 1.177 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.853, allocations: 49.7 kB / 1.177 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.8533, allocations: 408.4 kB / 1.177 GB, free: 500 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.8536, allocations: 283.9 kB / 1.178 GB, free: 212 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.8536, allocations: 12 kB / 1.178 GB, free: 200 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.8538, allocations: 394.7 kB / 1.178 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.8544, allocations: 289.8 kB / 1.178 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.8551, allocations: 395.1 kB / 1.179 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.8557, allocations: 334.9 kB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8557, allocations: 0 / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002014/0.8578, allocations: 0.9229 MB / 1.18 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8578, allocations: 4 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8578, allocations: 3.938 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/0.8584, allocations: 92.81 kB / 1.18 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/0.8591, allocations: 175.7 kB / 1.18 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.8612, allocations: 1.537 MB / 1.182 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.862, allocations: 115.3 kB / 1.182 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/0.8621, allocations: 39.97 kB / 1.182 GB, free: 11.76 MB / 0.9356 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004452/0.8625, allocations: 279.9 kB / 1.182 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.8627, allocations: 86.88 kB / 1.182 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.8653, allocations: 1.187 MB / 1.183 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.8653, allocations: 8 kB / 1.183 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8653, allocations: 0 / 1.183 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.8653, allocations: 11.92 kB / 1.183 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.8665, allocations: 0.9308 MB / 1.184 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8665, allocations: 4 kB / 1.184 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.8672, allocations: 155.8 kB / 1.184 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004928/0.8677, allocations: 88.72 kB / 1.185 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.8678, allocations: 27.97 kB / 1.185 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.8696, allocations: 1.544 MB / 1.186 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8696, allocations: 8.016 kB / 1.186 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.8717, allocations: 0.9941 MB / 1.187 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.8722, allocations: 303.5 kB / 1.187 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.8724, allocations: 20 kB / 1.187 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.8731, allocations: 91.02 kB / 1.187 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.8733, allocations: 76.89 kB / 1.188 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/0.8734, allocations: 39.97 kB / 1.188 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000653/0.8741, allocations: 479 kB / 1.188 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8741, allocations: 0 / 1.188 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009776/0.8751, allocations: 343.2 kB / 1.188 GB, free: 4.871 MB / 0.9356 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.8765, allocations: 0.5929 MB / 1.189 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.8784, allocations: 0.9014 MB / 1.19 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8784, allocations: 0 / 1.19 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.8794, allocations: 0.5434 MB / 1.19 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.8806, allocations: 270.8 kB / 1.191 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.8839, allocations: 2.125 MB / 1.193 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.8846, allocations: 1.048 MB / 1.194 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009016/0.8856, allocations: 263.2 kB / 1.194 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.8859, allocations: 115.4 kB / 1.194 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of SimCode: time 1.653e-06/0.8859, allocations: 0 / 1.194 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.02486/0.9107, allocations: 14.71 MB / 1.208 GB, free: 0.5977 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches