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 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.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.001721/0.001721, 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.002093/0.002093, allocations: 195.5 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7452 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 65.28 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2904, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005912/0.2964, allocations: 4.801 MB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.4548, allocations: 150.6 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007654/0.4556, allocations: 19.88 kB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.4562, allocations: 182.3 kB / 1.22 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.4579, allocations: 0.5507 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.4597, allocations: 0.8304 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.4611, allocations: 1.374 MB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007925/0.4619, allocations: 0.583 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005812/0.4625, allocations: 486.4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.463, allocations: 0.5056 MB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.4632, allocations: 116 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008131/0.464, allocations: 463.7 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.4643, allocations: 295.1 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.4647, allocations: 0.5596 MB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.4663, allocations: 1.597 MB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4664, allocations: 0 / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4664, allocations: 4 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.4664, allocations: 0 / 1.227 GB, free: 6.777 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002361/0.4688, allocations: 1.418 MB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4688, allocations: 8.031 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/0.4697, allocations: 191.4 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009819/0.4707, allocations: 0.7422 MB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.4708, allocations: 58 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4709, allocations: 80 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.4727, allocations: 0.9184 MB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4728, allocations: 4 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.4728, allocations: 39.98 kB / 1.231 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.4729, allocations: 20 kB / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.4746, allocations: 1.104 MB / 1.232 GB, free: 2.066 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.003956/0.4785, allocations: 2.74 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.4801, allocations: 0.888 MB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.4806, allocations: 302.7 kB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.4807, allocations: 28.61 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008593/0.4816, allocations: 0.4913 MB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 2.795e-06/0.4816, allocations: 0 / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.003038/0.4846, allocations: 1.19 MB / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.4848, allocations: 188.6 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007545/0.4855, allocations: 0.6253 MB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.4856, allocations: 41.7 kB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.4859, allocations: 392.4 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.4861, allocations: 256.3 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.4864, allocations: 158.5 kB / 1.239 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4866, allocations: 390.7 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.4871, allocations: 273.8 kB / 1.24 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.4877, allocations: 359.1 kB / 1.24 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4889, allocations: 0.6111 MB / 1.24 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4889, allocations: 0 / 1.24 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001903/0.4908, allocations: 0.841 MB / 1.241 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4908, allocations: 8 kB / 1.241 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4909, allocations: 3.938 kB / 1.241 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.4915, allocations: 88.8 kB / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.4921, allocations: 155.8 kB / 1.242 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.4942, allocations: 1.648 MB / 1.243 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.4949, allocations: 93.59 kB / 1.243 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.495, allocations: 35.98 kB / 1.243 GB, free: 5.859 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: 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.000423/0.4954, allocations: 271.8 kB / 1.244 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.4956, allocations: 82.97 kB / 1.244 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.4979, allocations: 1.066 MB / 1.245 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.498, allocations: 12 kB / 1.245 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.498, allocations: 3.938 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.498, allocations: 7.969 kB / 1.245 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.5011, allocations: 1.951 MB / 1.247 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.5011, allocations: 0 / 1.247 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.5017, allocations: 143.8 kB / 1.247 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/0.5022, allocations: 76.78 kB / 1.247 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.5022, allocations: 19.98 kB / 1.247 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.5041, allocations: 1.681 MB / 1.248 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5041, allocations: 64 / 1.248 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5154/1.02, allocations: 0.9866 MB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/1.02, allocations: 271.5 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/1.02, allocations: 21.53 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/1.021, allocations: 62.56 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.021, allocations: 69.14 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/1.021, allocations: 35.72 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006131/1.022, allocations: 455.7 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.022, allocations: 0 / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009081/1.023, allocations: 317.2 kB / 1.251 GB, free: 183.3 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.001313/1.024, allocations: 0.6071 MB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002495/1.026, allocations: 1.039 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.026, allocations: 0.5938 kB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/1.027, allocations: 0.5154 MB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.029, allocations: 312.8 kB / 1.253 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/1.032, allocations: 1.648 MB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/1.032, allocations: 1.021 MB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008466/1.033, allocations: 261.9 kB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/1.033, allocations: 103.6 kB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.033, allocations: 0 / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03071/1.064, allocations: 15.16 MB / 1.271 GB, free: 179.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