Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.31 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3321, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006842/0.339, allocations: 4.829 MB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1528/0.4919, allocations: 148.3 MB / 1.202 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.4927, allocations: 15.94 kB / 1.202 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.4934, allocations: 154.8 kB / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.4952, allocations: 456.9 kB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.4971, allocations: 0.7271 MB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.4984, allocations: 1.284 MB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007781/0.4992, allocations: 0.5749 MB / 1.205 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.4997, allocations: 418.3 kB / 1.205 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.5002, allocations: 481.8 kB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.5004, allocations: 56 kB / 1.206 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.5011, allocations: 395.7 kB / 1.206 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.5014, allocations: 239 kB / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.5018, allocations: 0.5011 MB / 1.207 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.5033, allocations: 1.546 MB / 1.208 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5033, allocations: 0 / 1.208 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5033, allocations: 0 / 1.208 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.5033, allocations: 0 / 1.208 GB, free: 8.305 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002503/0.5058, allocations: 1.422 MB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5059, allocations: 8.031 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009346/0.5068, allocations: 179.4 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5079, allocations: 0.7383 MB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.5079, allocations: 69.98 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5081, allocations: 80 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.5096, allocations: 0.9222 MB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5096, allocations: 4 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.5097, allocations: 39.94 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5097, allocations: 20 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.5114, allocations: 1.104 MB / 1.213 GB, free: 3.598 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.003834/0.5152, allocations: 2.74 MB / 1.215 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.5168, allocations: 0.8951 MB / 1.216 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.5174, allocations: 302.7 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.935e-05/0.5175, allocations: 36.59 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009728/0.5185, allocations: 499.1 kB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.655e-06/0.5185, allocations: 0 / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003087/0.5216, allocations: 1.198 MB / 1.218 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.5217, allocations: 188.6 kB / 1.218 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.5224, allocations: 0.6176 MB / 1.219 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.5225, allocations: 49.69 kB / 1.219 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.5228, allocations: 388.3 kB / 1.219 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.523, allocations: 260.3 kB / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.5232, allocations: 158.5 kB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5234, allocations: 394.7 kB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.5239, allocations: 265.9 kB / 1.22 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.5246, allocations: 359.1 kB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.5257, allocations: 0.6073 MB / 1.221 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5257, allocations: 0 / 1.221 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001873/0.5276, allocations: 0.8488 MB / 1.222 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5276, allocations: 8 kB / 1.222 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5276, allocations: 4.062 kB / 1.222 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.5283, allocations: 88.8 kB / 1.222 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.529, allocations: 159.7 kB / 1.222 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.5309, allocations: 1.53 MB / 1.224 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.5317, allocations: 95.38 kB / 1.224 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/0.5317, allocations: 40.16 kB / 1.224 GB, free: 7.484 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003907/0.5321, allocations: 265 kB / 1.224 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.5323, allocations: 86.91 kB / 1.224 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.5347, allocations: 1.061 MB / 1.225 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5347, allocations: 8 kB / 1.226 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.5347, allocations: 0 / 1.226 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5347, allocations: 7.922 kB / 1.226 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.5379, allocations: 1.958 MB / 1.227 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5379, allocations: 4 kB / 1.227 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.5385, allocations: 143.8 kB / 1.228 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/0.539, allocations: 88.66 kB / 1.228 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.5391, allocations: 31.97 kB / 1.228 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.5409, allocations: 1.548 MB / 1.229 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.541, allocations: 0 / 1.229 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.5429, allocations: 0.996 MB / 1.23 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.5434, allocations: 275.7 kB / 1.23 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5435, allocations: 20 kB / 1.23 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.5442, allocations: 63.86 kB / 1.231 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.5443, allocations: 72.89 kB / 1.231 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.5444, allocations: 31.98 kB / 1.231 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005939/0.545, allocations: 459 kB / 1.231 GB, free: 136 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.545, allocations: 0 / 1.231 GB, free: 136 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009139/0.546, allocations: 315.3 kB / 1.231 GB, free: 15.82 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001251/0.5472, allocations: 0.6035 MB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.5488, allocations: 0.8234 MB / 1.233 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5488, allocations: 4 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.5497, allocations: 0.516 MB / 1.233 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5509, allocations: 268.4 kB / 1.233 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.5538, allocations: 2.047 MB / 1.235 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.5543, allocations: 1.016 MB / 1.236 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007889/0.5551, allocations: 266.5 kB / 1.237 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.5554, allocations: 103.4 kB / 1.237 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.5554, allocations: 0 / 1.237 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.5018/1.057, allocations: 14.53 MB / 1.251 GB, free: 190.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches