Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001025/0.001026, allocations: 99.27 kB / 16.02 MB, free: 76 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.001483/0.001483, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.703/2.703, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12.8 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006222/0.3201, allocations: 4.553 MB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.4841, allocations: 146.9 MB / 1.207 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4853, allocations: 23.88 kB / 1.207 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008968/0.4862, allocations: 150.8 kB / 1.207 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.4885, allocations: 498.9 kB / 1.208 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.4907, allocations: 0.735 MB / 1.209 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.4928, allocations: 1.343 MB / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.4939, allocations: 0.5711 MB / 1.21 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008119/0.4948, allocations: 378.2 kB / 1.211 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008208/0.4956, allocations: 421.8 kB / 1.211 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.4958, allocations: 28 kB / 1.211 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.4968, allocations: 371.6 kB / 1.212 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.4972, allocations: 195 kB / 1.212 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006601/0.4978, allocations: 498.7 kB / 1.212 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.4994, allocations: 1.208 MB / 1.213 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4994, allocations: 4 kB / 1.213 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4994, allocations: 0 / 1.213 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.279e-05/0.4994, allocations: 0 / 1.213 GB, free: 6.566 MB / 0.9669 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.003119/0.5026, allocations: 1.257 MB / 1.215 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5026, allocations: 11.97 kB / 1.215 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5038, allocations: 207.3 kB / 1.215 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5051, allocations: 0.7546 MB / 1.216 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.788e-05/0.5052, allocations: 73.94 kB / 1.216 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.5054, allocations: 87.98 kB / 1.216 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.5073, allocations: 0.9652 MB / 1.217 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5074, allocations: 0 / 1.217 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5075, allocations: 40 kB / 1.217 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.5075, allocations: 24 kB / 1.217 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.5095, allocations: 1.167 MB / 1.218 GB, free: 1.848 MB / 0.9669 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.005088/0.5146, allocations: 2.91 MB / 1.221 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.5163, allocations: 0.8474 MB / 1.222 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/0.517, allocations: 330.7 kB / 1.222 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-05/0.5171, allocations: 40.61 kB / 1.222 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.5181, allocations: 0.5353 MB / 1.222 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 4.458e-06/0.5181, allocations: 7.984 kB / 1.222 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003564/0.5217, allocations: 1.31 MB / 1.224 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5219, allocations: 192.9 kB / 1.224 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5229, allocations: 0.6566 MB / 1.225 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/0.523, allocations: 45.64 kB / 1.225 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.5234, allocations: 408.4 kB / 1.225 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.5237, allocations: 283.9 kB / 1.225 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.5238, allocations: 77.67 kB / 1.225 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5241, allocations: 394.7 kB / 1.226 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.5247, allocations: 289.8 kB / 1.226 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000741/0.5255, allocations: 399.1 kB / 1.226 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.5268, allocations: 0.6672 MB / 1.227 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5268, allocations: 0 / 1.227 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002267/0.5291, allocations: 0.9268 MB / 1.228 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.5291, allocations: 11.88 kB / 1.228 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5291, allocations: 0 / 1.228 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.5298, allocations: 88.83 kB / 1.228 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.5306, allocations: 183.7 kB / 1.228 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.5327, allocations: 1.514 MB / 1.23 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.5337, allocations: 115.3 kB / 1.23 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.5338, allocations: 39.97 kB / 1.23 GB, free: 5.211 MB / 0.9825 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.0005978/0.5344, allocations: 291.8 kB / 1.23 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.5347, allocations: 82.97 kB / 1.23 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.5374, allocations: 1.167 MB / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.5375, allocations: 12 kB / 1.231 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5375, allocations: 7.938 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5375, allocations: 3.984 kB / 1.231 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.5388, allocations: 0.9424 MB / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5389, allocations: 0 / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.5395, allocations: 155.8 kB / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005351/0.54, allocations: 84.77 kB / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.5401, allocations: 31.97 kB / 1.233 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.542, allocations: 1.555 MB / 1.234 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.542, allocations: 3.984 kB / 1.234 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.5442, allocations: 0.9982 MB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.5448, allocations: 303.5 kB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.545, allocations: 23.98 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.5458, allocations: 91.55 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.546, allocations: 84.88 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.5461, allocations: 39.98 kB / 1.236 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006827/0.5468, allocations: 475 kB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.5468, allocations: 0 / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009945/0.5478, allocations: 335.3 kB / 1.236 GB, free: 14.31 MB / 0.9981 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.001607/0.5494, allocations: 0.6004 MB / 1.237 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.5514, allocations: 0.9053 MB / 1.238 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5514, allocations: 4.188 kB / 1.238 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5524, allocations: 0.5471 MB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5538, allocations: 281.5 kB / 1.239 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.5576, allocations: 2.236 MB / 1.241 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.5583, allocations: 1.037 MB / 1.242 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.5587, allocations: 127.4 kB / 1.242 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/0.5587, allocations: 0 / 1.242 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of Templates: time 0.5613/1.12, allocations: 19.2 MB / 1.261 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches