Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001921/0.001921, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.55/2.55, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 62.88 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009307/0.3376, allocations: 6.951 MB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7357/1.073, allocations: 151.3 MB / 1.172 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/1.074, allocations: 23.28 kB / 1.173 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000714/1.075, allocations: 263.2 kB / 1.173 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/1.078, allocations: 0.7905 MB / 1.174 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/1.08, allocations: 0.9943 MB / 1.174 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003079/1.083, allocations: 2.123 MB / 1.177 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/1.085, allocations: 1.028 MB / 1.178 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/1.086, allocations: 0.8269 MB / 1.178 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/1.088, allocations: 0.9066 MB / 1.179 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004057/1.088, allocations: 207.3 kB / 1.179 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/1.09, allocations: 0.5369 MB / 1.18 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005045/1.09, allocations: 487.6 kB / 1.18 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/1.092, allocations: 0.9534 MB / 1.181 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/1.095, allocations: 2.507 MB / 1.184 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.095, allocations: 0 / 1.184 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.683e-06/1.095, allocations: 3.938 kB / 1.184 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.764e-05/1.095, allocations: 4 kB / 1.184 GB, free: 7.629 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004971/1.1, allocations: 2.061 MB / 1.186 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.1, allocations: 18.92 kB / 1.186 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/1.102, allocations: 252.4 kB / 1.186 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/1.103, allocations: 0.9664 MB / 1.187 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/1.104, allocations: 115.4 kB / 1.187 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/1.104, allocations: 154.5 kB / 1.187 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/1.107, allocations: 1.585 MB / 1.189 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/1.107, allocations: 3.562 kB / 1.189 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/1.107, allocations: 61.84 kB / 1.189 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/1.107, allocations: 36.84 kB / 1.189 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/1.11, allocations: 1.637 MB / 1.191 GB, free: 3.215 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.007963/1.118, allocations: 4.578 MB / 1.195 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/1.12, allocations: 1.201 MB / 1.196 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008395/1.121, allocations: 485.5 kB / 1.197 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.121, allocations: 44.98 kB / 1.197 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/1.122, allocations: 0.7804 MB / 1.197 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=128): time 3.387e-06/1.122, allocations: 0 / 1.197 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=128): time 0.004548/1.127, allocations: 1.838 MB / 1.199 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.127, allocations: 200.6 kB / 1.199 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.128, allocations: 0.8701 MB / 1.2 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/1.128, allocations: 52.55 kB / 1.2 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/1.129, allocations: 0.6068 MB / 1.201 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/1.129, allocations: 411.1 kB / 1.201 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/1.13, allocations: 253.1 kB / 1.202 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.13, allocations: 354.6 kB / 1.202 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008618/1.131, allocations: 458.4 kB / 1.202 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/1.132, allocations: 0.5605 MB / 1.203 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/1.134, allocations: 0.9892 MB / 1.204 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.134, allocations: 0 / 1.204 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003084/1.137, allocations: 1.347 MB / 1.205 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.137, allocations: 4.656 kB / 1.205 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.137, allocations: 0 / 1.205 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/1.137, allocations: 88.83 kB / 1.205 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.139, allocations: 262.2 kB / 1.206 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.141, allocations: 1.659 MB / 1.207 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.142, allocations: 147.6 kB / 1.207 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/1.143, allocations: 59.95 kB / 1.207 GB, free: 7.086 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007743/1.143, allocations: 351 kB / 1.208 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/1.144, allocations: 122.5 kB / 1.208 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/1.148, allocations: 1.71 MB / 1.209 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.148, allocations: 16 kB / 1.209 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.148, allocations: 0 / 1.209 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/1.148, allocations: 7.969 kB / 1.209 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/1.15, allocations: 1.412 MB / 1.211 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.15, allocations: 0 / 1.211 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000951/1.151, allocations: 211.7 kB / 1.211 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.151, allocations: 76.78 kB / 1.211 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/1.151, allocations: 43.95 kB / 1.211 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/1.154, allocations: 1.664 MB / 1.213 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.154, allocations: 3.938 kB / 1.213 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/1.157, allocations: 1.41 MB / 1.214 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007504/1.158, allocations: 375 kB / 1.215 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/1.158, allocations: 43.83 kB / 1.215 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/1.159, allocations: 84.89 kB / 1.215 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/1.159, allocations: 109.2 kB / 1.215 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.159, allocations: 60.02 kB / 1.215 GB, free: 15.15 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001008/1.16, allocations: 0.6541 MB / 1.215 GB, free: 14.49 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/1.161, allocations: 0 / 1.215 GB, free: 14.49 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001372/1.162, allocations: 486.6 kB / 1.216 GB, free: 14.01 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001952/1.164, allocations: 0.619 MB / 1.217 GB, free: 13.56 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004538/1.168, allocations: 1.591 MB / 1.218 GB, free: 11.96 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.168, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.17, allocations: 0.7402 MB / 1.219 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.172, allocations: 352 kB / 1.219 GB, free: 10.88 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/1.177, allocations: 2.633 MB / 1.222 GB, free: 8.215 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009687/1.178, allocations: 1.236 MB / 1.223 GB, free: 6.949 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/1.178, allocations: 183.3 kB / 1.223 GB, free: 6.77 MB / 0.92 GB Notification: Performance of SimCode: time 1.302e-06/1.178, allocations: 0 / 1.223 GB, free: 6.77 MB / 0.92 GB Notification: Performance of Templates: time 0.04245/1.221, allocations: 27.82 MB / 1.25 GB, free: 11.04 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches