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.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.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.001686/0.001686, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002096/0.002097, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.814/2.814, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.001951, allocations: 55.91 kB / 0.8692 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5877/0.5897, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007556/0.5973, allocations: 4.968 MB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1931/0.7905, allocations: 150.8 MB / 1.169 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.7919, allocations: 15.94 kB / 1.169 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009299/0.7928, allocations: 198.1 kB / 1.17 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.7951, allocations: 0.5835 MB / 1.17 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.7972, allocations: 0.8372 MB / 1.171 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.7992, allocations: 1.448 MB / 1.172 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.8003, allocations: 0.5921 MB / 1.173 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008559/0.8011, allocations: 0.5061 MB / 1.173 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.8021, allocations: 0.546 MB / 1.174 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.8024, allocations: 120 kB / 1.174 GB, free: 1.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.8035, allocations: 455.7 kB / 1.175 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.8039, allocations: 318.9 kB / 1.175 GB, free: 468 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008421/0.8047, allocations: 0.5791 MB / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.8073, allocations: 1.64 MB / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8073, allocations: 0 / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8073, allocations: 3.938 kB / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.8073, allocations: 0 / 1.177 GB, free: 14.23 MB / 0.9356 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.003219/0.8106, allocations: 1.483 MB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.8106, allocations: 12.03 kB / 1.179 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.8117, allocations: 183.3 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.8129, allocations: 0.7625 MB / 1.179 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.888e-05/0.813, allocations: 69.98 kB / 1.179 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.8131, allocations: 88 kB / 1.18 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.8149, allocations: 0.9612 MB / 1.181 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.8149, allocations: 0 / 1.181 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-05/0.815, allocations: 47.97 kB / 1.181 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.815, allocations: 20 kB / 1.181 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.817, allocations: 1.155 MB / 1.182 GB, free: 9.312 MB / 0.9356 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.004806/0.8219, allocations: 2.885 MB / 1.185 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.8236, allocations: 0.8443 MB / 1.185 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.8242, allocations: 322.7 kB / 1.186 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-05/0.8243, allocations: 40.61 kB / 1.186 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.8253, allocations: 0.5276 MB / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.905e-06/0.8253, allocations: 0 / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003801/0.8291, allocations: 1.294 MB / 1.187 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.8293, allocations: 204.8 kB / 1.188 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.8306, allocations: 0.6489 MB / 1.188 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.575e-05/0.8307, allocations: 45.69 kB / 1.188 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.8311, allocations: 404.4 kB / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.8314, allocations: 287.9 kB / 1.189 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.8317, allocations: 174.5 kB / 1.189 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.8319, allocations: 390.8 kB / 1.19 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.8325, allocations: 293.8 kB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.8333, allocations: 391.1 kB / 1.19 GB, free: 352 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.8346, allocations: 0.6633 MB / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8346, allocations: 0 / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002291/0.8369, allocations: 0.9151 MB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.837, allocations: 15.92 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.837, allocations: 0 / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/0.8376, allocations: 80.84 kB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.8384, allocations: 183.7 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.8408, allocations: 1.644 MB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009015/0.8417, allocations: 103.3 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.8418, allocations: 43.91 kB / 1.194 GB, free: 12.53 MB / 0.9512 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 (105): * Single equations (assignments): 104 * 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.0004965/0.8423, allocations: 271.8 kB / 1.194 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.8425, allocations: 86.95 kB / 1.194 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.8453, allocations: 1.168 MB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.8453, allocations: 15.94 kB / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8454, allocations: 3.984 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8454, allocations: 3.984 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.8467, allocations: 0.9308 MB / 1.196 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.8467, allocations: 0 / 1.196 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/0.8474, allocations: 159.7 kB / 1.196 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.8479, allocations: 72.78 kB / 1.196 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.848, allocations: 27.92 kB / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.8501, allocations: 1.654 MB / 1.198 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8501, allocations: 3.984 kB / 1.198 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.8524, allocations: 0.998 MB / 1.199 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.8529, allocations: 287.6 kB / 1.199 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.853, allocations: 16 kB / 1.199 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.8537, allocations: 71.86 kB / 1.199 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.8539, allocations: 76.89 kB / 1.199 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.854, allocations: 39.97 kB / 1.199 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006713/0.8547, allocations: 487 kB / 1.2 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8547, allocations: 0 / 1.2 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009389/0.8556, allocations: 343.2 kB / 1.2 GB, free: 5.59 MB / 0.9512 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 (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.002053/0.8577, allocations: 0.5965 MB / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002957/0.8607, allocations: 1.12 MB / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8607, allocations: 0 / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.8618, allocations: 0.5472 MB / 1.202 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.8633, allocations: 290.1 kB / 1.203 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.8667, allocations: 1.75 MB / 1.204 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.8675, allocations: 1.043 MB / 1.205 GB, free: 380 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009455/0.8684, allocations: 275.1 kB / 1.206 GB, free: 100 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.8688, allocations: 115.4 kB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/0.8688, allocations: 0 / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.03075/0.8995, allocations: 15.93 MB / 1.221 GB, free: 240 kB / 0.9669 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=400 -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