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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001263/0.001263, 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.001351/0.001351, allocations: 193.2 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.05 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3254, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006544/0.332, allocations: 4.975 MB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.5013, allocations: 150.8 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.5026, allocations: 15.94 kB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.5033, allocations: 194.1 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.5052, allocations: 0.5625 MB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.5072, allocations: 0.8602 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.5087, allocations: 1.433 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008458/0.5095, allocations: 0.591 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006719/0.5102, allocations: 0.5099 MB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.5108, allocations: 0.5329 MB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.511, allocations: 120 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00089/0.5119, allocations: 459.7 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.5122, allocations: 311 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.5127, allocations: 0.5791 MB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.5144, allocations: 1.644 MB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5144, allocations: 0 / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5144, allocations: 0 / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.5145, allocations: 4 kB / 1.228 GB, free: 6.18 MB / 0.9825 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.00266/0.5171, allocations: 1.479 MB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5172, allocations: 8.031 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000917/0.5181, allocations: 191.3 kB / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5191, allocations: 0.7624 MB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.5192, allocations: 66 kB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5193, allocations: 84 kB / 1.23 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.5209, allocations: 0.9729 MB / 1.231 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.5209, allocations: 0 / 1.231 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.521, allocations: 36 kB / 1.231 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.521, allocations: 20 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.5229, allocations: 1.159 MB / 1.233 GB, free: 1.273 MB / 0.9825 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.004452/0.5274, allocations: 2.887 MB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5289, allocations: 0.8407 MB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.5295, allocations: 330.6 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.5296, allocations: 32.69 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009331/0.5306, allocations: 0.5275 MB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.715e-06/0.5306, allocations: 4 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003368/0.534, allocations: 1.298 MB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.5341, allocations: 196.9 kB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008019/0.5349, allocations: 0.6527 MB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.535, allocations: 45.7 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.5353, allocations: 408.3 kB / 1.24 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.5355, allocations: 283.9 kB / 1.24 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.5358, allocations: 182.5 kB / 1.24 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.536, allocations: 390.7 kB / 1.24 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.5366, allocations: 289.8 kB / 1.241 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.5373, allocations: 395.1 kB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.5385, allocations: 0.6555 MB / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.5385, allocations: 0 / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002099/0.5406, allocations: 0.9229 MB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5406, allocations: 9.5 kB / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5406, allocations: 0 / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.5413, allocations: 84.83 kB / 1.243 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.542, allocations: 175.7 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.5442, allocations: 1.628 MB / 1.244 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008498/0.545, allocations: 103.3 kB / 1.245 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.5451, allocations: 43.91 kB / 1.245 GB, free: 4.512 MB / 0.9981 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.0005603/0.5457, allocations: 279.7 kB / 1.245 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5459, allocations: 90.97 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.5485, allocations: 1.168 MB / 1.246 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.5485, allocations: 8 kB / 1.246 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5485, allocations: 0 / 1.246 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5485, allocations: 3.984 kB / 1.246 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.5497, allocations: 0.9462 MB / 1.247 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5497, allocations: 0 / 1.247 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.5503, allocations: 151.8 kB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.5507, allocations: 72.78 kB / 1.247 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.5508, allocations: 31.91 kB / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6373/1.188, allocations: 1.653 MB / 1.249 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.188, allocations: 1.312 kB / 1.249 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/1.191, allocations: 1 MB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/1.191, allocations: 279 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/1.191, allocations: 31.05 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/1.192, allocations: 67.78 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.192, allocations: 77.28 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/1.192, allocations: 40.19 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006627/1.193, allocations: 479 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.193, allocations: 2.438 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009612/1.194, allocations: 337.1 kB / 1.251 GB, free: 183.1 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.001417/1.195, allocations: 0.6051 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002689/1.198, allocations: 1.115 MB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.198, allocations: 1.125 kB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009651/1.199, allocations: 0.553 MB / 1.253 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.2, allocations: 307.5 kB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/1.204, allocations: 1.748 MB / 1.255 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/1.204, allocations: 1.042 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007398/1.205, allocations: 263.8 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/1.205, allocations: 116.1 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.205, allocations: 0 / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03112/1.236, allocations: 15.95 MB / 1.272 GB, free: 178.7 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/jenkins/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