Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.002232/0.002232, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.002137/0.002137, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 61.56 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2792, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006743/0.286, allocations: 4.488 MB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7442/1.03, allocations: 150.7 MB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/1.031, allocations: 16 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007639/1.032, allocations: 175.3 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/1.035, allocations: 0.5302 MB / 1.103 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/1.037, allocations: 0.8398 MB / 1.104 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002367/1.04, allocations: 1.375 MB / 1.106 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/1.041, allocations: 0.6228 MB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/1.042, allocations: 0.4996 MB / 1.107 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/1.043, allocations: 0.5224 MB / 1.107 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/1.043, allocations: 120.1 kB / 1.107 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/1.045, allocations: 493.3 kB / 1.108 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004805/1.045, allocations: 304.6 kB / 1.108 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008792/1.046, allocations: 0.5699 MB / 1.109 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/1.049, allocations: 1.653 MB / 1.11 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.049, allocations: 0.5 kB / 1.11 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.049, allocations: 0.5 kB / 1.11 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.161e-05/1.049, allocations: 0 / 1.11 GB, free: 3.965 MB / 0.8575 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.003343/1.053, allocations: 1.47 MB / 1.112 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.053, allocations: 10.34 kB / 1.112 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009665/1.054, allocations: 193 kB / 1.112 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/1.055, allocations: 0.7783 MB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/1.055, allocations: 67.23 kB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.055, allocations: 87.84 kB / 1.113 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/1.057, allocations: 0.9666 MB / 1.114 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/1.057, allocations: 1.188 kB / 1.114 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/1.057, allocations: 36.95 kB / 1.114 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/1.057, allocations: 20.88 kB / 1.114 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/1.059, allocations: 1.156 MB / 1.115 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/1.064, allocations: 2.637 MB / 1.117 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.065, allocations: 0.8443 MB / 1.118 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/1.066, allocations: 324.7 kB / 1.119 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.399e-05/1.066, allocations: 35.06 kB / 1.119 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009319/1.067, allocations: 0.5376 MB / 1.119 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/1.067, allocations: 4 kB / 1.119 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003282/1.07, allocations: 1.28 MB / 1.12 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.07, allocations: 197.2 kB / 1.121 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/1.071, allocations: 0.6576 MB / 1.121 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/1.072, allocations: 44.83 kB / 1.121 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/1.072, allocations: 406.7 kB / 1.122 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.072, allocations: 284.5 kB / 1.122 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/1.072, allocations: 179.1 kB / 1.122 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.073, allocations: 389.9 kB / 1.122 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/1.073, allocations: 291.7 kB / 1.123 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/1.074, allocations: 390 kB / 1.123 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1.075, allocations: 0.6577 MB / 1.124 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.075, allocations: 1.031 kB / 1.124 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002151/1.077, allocations: 0.9235 MB / 1.125 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.077, allocations: 5.594 kB / 1.125 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.077, allocations: 5 kB / 1.125 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/1.078, allocations: 87.36 kB / 1.125 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/1.079, allocations: 179.5 kB / 1.125 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/1.081, allocations: 1.623 MB / 1.127 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.082, allocations: 102.8 kB / 1.127 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/1.082, allocations: 38.06 kB / 1.127 GB, free: 14.65 MB / 0.8731 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.0006616/1.083, allocations: 283.3 kB / 1.127 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/1.083, allocations: 87.95 kB / 1.127 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/1.086, allocations: 1.16 MB / 1.128 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.086, allocations: 13.25 kB / 1.128 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.086, allocations: 0 / 1.128 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.086, allocations: 7.328 kB / 1.128 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/1.087, allocations: 0.9398 MB / 1.129 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.087, allocations: 2.391 kB / 1.129 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/1.088, allocations: 152.2 kB / 1.129 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/1.088, allocations: 75.94 kB / 1.129 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-05/1.088, allocations: 24.45 kB / 1.129 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/1.09, allocations: 1.673 MB / 1.131 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.09, allocations: 1.156 kB / 1.131 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/1.093, allocations: 0.9947 MB / 1.132 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/1.093, allocations: 280.2 kB / 1.132 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/1.093, allocations: 24.19 kB / 1.132 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/1.094, allocations: 66.52 kB / 1.132 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.094, allocations: 82.34 kB / 1.132 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/1.094, allocations: 43.28 kB / 1.132 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008997/1.095, allocations: 480.5 kB / 1.133 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.21e-07/1.095, allocations: 0 / 1.133 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001403/1.097, allocations: 325.5 kB / 1.133 GB, free: 12.22 MB / 0.8731 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.001417/1.098, allocations: 0.6059 MB / 1.134 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001882/1.1, allocations: 0.8997 MB / 1.135 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/1.1, allocations: 0 / 1.135 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.101, allocations: 0.5484 MB / 1.135 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.102, allocations: 289.2 kB / 1.135 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/1.106, allocations: 1.825 MB / 1.137 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/1.107, allocations: 1.042 MB / 1.138 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009517/1.108, allocations: 268.7 kB / 1.139 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/1.108, allocations: 112.7 kB / 1.139 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/1.108, allocations: 0 / 1.139 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.03049/1.139, allocations: 15.53 MB / 1.154 GB, free: 5.469 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches