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.001397/0.001403, allocations: 109.1 kB / 16.27 MB, free: 6.41 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.00127/0.00127, allocations: 190.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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.669/2.669, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 64.56 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007941/0.3323, allocations: 4.987 MB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.748/1.08, allocations: 150.8 MB / 1.17 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009612/1.081, allocations: 14.44 kB / 1.17 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006363/1.082, allocations: 194.1 kB / 1.17 GB, free: 460 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.084, allocations: 0.5833 MB / 1.171 GB, free: 116 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/1.086, allocations: 0.8351 MB / 1.172 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002046/1.088, allocations: 1.446 MB / 1.173 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/1.089, allocations: 0.5994 MB / 1.174 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/1.09, allocations: 0.4966 MB / 1.174 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008204/1.091, allocations: 0.5422 MB / 1.175 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002204/1.092, allocations: 119.6 kB / 1.175 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/1.093, allocations: 466.4 kB / 1.175 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/1.093, allocations: 305.9 kB / 1.176 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006553/1.094, allocations: 0.5803 MB / 1.176 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/1.096, allocations: 1.639 MB / 1.178 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.096, allocations: 3.984 kB / 1.178 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/1.096, allocations: 0 / 1.178 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.732e-05/1.096, allocations: 1.031 kB / 1.178 GB, free: 12.27 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003234/1.099, allocations: 1.484 MB / 1.179 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.099, allocations: 9.625 kB / 1.179 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.1, allocations: 189 kB / 1.179 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.102, allocations: 0.7641 MB / 1.18 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/1.102, allocations: 65.81 kB / 1.18 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.102, allocations: 85.22 kB / 1.18 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/1.104, allocations: 0.9676 MB / 1.181 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.104, allocations: 0 / 1.181 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/1.104, allocations: 37.16 kB / 1.181 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/1.104, allocations: 25.16 kB / 1.181 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/1.106, allocations: 1.155 MB / 1.182 GB, free: 9.125 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.005205/1.111, allocations: 2.883 MB / 1.185 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/1.113, allocations: 0.8465 MB / 1.186 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/1.113, allocations: 329.9 kB / 1.186 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-05/1.113, allocations: 39.03 kB / 1.186 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/1.115, allocations: 0.5262 MB / 1.187 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=88): time 4.488e-06/1.115, allocations: 3.938 kB / 1.187 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88): time 0.003716/1.118, allocations: 1.301 MB / 1.188 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.118, allocations: 194.2 kB / 1.188 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.12, allocations: 0.6523 MB / 1.189 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.12, allocations: 42.86 kB / 1.189 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/1.12, allocations: 404.2 kB / 1.189 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.12, allocations: 289.9 kB / 1.19 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/1.121, allocations: 179.1 kB / 1.19 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002083/1.121, allocations: 391.3 kB / 1.19 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/1.121, allocations: 294.4 kB / 1.191 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/1.122, allocations: 391.8 kB / 1.191 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/1.123, allocations: 0.6603 MB / 1.192 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.123, allocations: 0 / 1.192 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002269/1.126, allocations: 0.9216 MB / 1.192 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.126, allocations: 4.688 kB / 1.192 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.126, allocations: 6.438 kB / 1.192 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/1.126, allocations: 83.08 kB / 1.193 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/1.127, allocations: 177.1 kB / 1.193 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/1.13, allocations: 1.624 MB / 1.194 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.131, allocations: 108 kB / 1.194 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.131, allocations: 39.62 kB / 1.194 GB, free: 492 kB / 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: 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.0006546/1.132, allocations: 278.5 kB / 1.195 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/1.132, allocations: 85.72 kB / 1.195 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/1.135, allocations: 1.171 MB / 1.196 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.135, allocations: 14.12 kB / 1.196 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.135, allocations: 0 / 1.196 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.135, allocations: 3.984 kB / 1.196 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/1.136, allocations: 0.9393 MB / 1.197 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.136, allocations: 0 / 1.197 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/1.137, allocations: 151.3 kB / 1.197 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/1.138, allocations: 74.41 kB / 1.197 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.542e-05/1.138, allocations: 35.73 kB / 1.197 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/1.14, allocations: 1.659 MB / 1.199 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.14, allocations: 0 / 1.199 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/1.142, allocations: 0.9955 MB / 1.2 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/1.143, allocations: 289.7 kB / 1.2 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/1.143, allocations: 24.73 kB / 1.2 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/1.144, allocations: 60.59 kB / 1.2 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.144, allocations: 86.5 kB / 1.2 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/1.144, allocations: 38.83 kB / 1.2 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007535/1.145, allocations: 482 kB / 1.201 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/1.145, allocations: 0 / 1.201 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001115/1.146, allocations: 342.8 kB / 1.201 GB, free: 11.86 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: 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.002124/1.148, allocations: 0.6003 MB / 1.202 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002975/1.151, allocations: 1.119 MB / 1.203 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.151, allocations: 2.438 kB / 1.203 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.152, allocations: 0.5476 MB / 1.203 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.154, allocations: 301.2 kB / 1.203 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/1.158, allocations: 1.789 MB / 1.205 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/1.159, allocations: 1.044 MB / 1.206 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/1.159, allocations: 127.4 kB / 1.206 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/1.159, allocations: 0 / 1.206 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of Templates: time 0.03261/1.192, allocations: 19.32 MB / 1.225 GB, free: 4.828 MB / 0.92 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/jenkins1/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