Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009297/0.009296, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001688/0.001688, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 58.28 kB / 0.9508 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2781, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00609/0.2842, allocations: 4.285 MB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.4579, allocations: 150.5 MB / 1.239 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008551/0.4588, allocations: 15.94 kB / 1.239 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008227/0.4596, allocations: 166.4 kB / 1.239 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.4617, allocations: 0.5034 MB / 1.24 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.4639, allocations: 0.8214 MB / 1.241 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.4656, allocations: 1.281 MB / 1.242 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/0.4665, allocations: 0.6139 MB / 1.242 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006468/0.4672, allocations: 466.4 kB / 1.243 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.4678, allocations: 485.8 kB / 1.243 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.4679, allocations: 119.9 kB / 1.243 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008746/0.4688, allocations: 479.6 kB / 1.244 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.4691, allocations: 299 kB / 1.244 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.4696, allocations: 0.5207 MB / 1.245 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.4713, allocations: 1.581 MB / 1.246 GB, free: 14.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4714, allocations: 0 / 1.246 GB, free: 14.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4714, allocations: 0 / 1.246 GB, free: 14.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.4714, allocations: 0 / 1.246 GB, free: 14.74 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002377/0.4738, allocations: 1.411 MB / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4738, allocations: 8.031 kB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.4747, allocations: 187.4 kB / 1.248 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.4758, allocations: 0.7461 MB / 1.249 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.4759, allocations: 65.98 kB / 1.249 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.476, allocations: 76 kB / 1.249 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.4774, allocations: 0.9028 MB / 1.25 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.4774, allocations: 0 / 1.25 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.4775, allocations: 32 kB / 1.25 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4775, allocations: 24 kB / 1.25 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.4791, allocations: 1.096 MB / 1.251 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.4827, allocations: 2.441 MB / 1.253 GB, free: 7.551 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4841, allocations: 0.8573 MB / 1.254 GB, free: 6.672 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.4846, allocations: 302.6 kB / 1.254 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/0.4846, allocations: 32.55 kB / 1.254 GB, free: 6.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007715/0.4854, allocations: 491.1 kB / 1.255 GB, free: 5.844 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.404e-06/0.4854, allocations: 0 / 1.255 GB, free: 5.844 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.002882/0.4883, allocations: 1.178 MB / 1.256 GB, free: 4.637 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.4884, allocations: 192.6 kB / 1.256 GB, free: 4.406 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.4891, allocations: 0.6214 MB / 1.257 GB, free: 3.777 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.4892, allocations: 41.7 kB / 1.257 GB, free: 3.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.4895, allocations: 396.3 kB / 1.257 GB, free: 3.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.4897, allocations: 252.4 kB / 1.257 GB, free: 3.086 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.4899, allocations: 158.5 kB / 1.257 GB, free: 2.926 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4901, allocations: 386.7 kB / 1.258 GB, free: 2.539 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.4906, allocations: 265.9 kB / 1.258 GB, free: 2.281 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.4912, allocations: 355.1 kB / 1.258 GB, free: 1.914 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.4922, allocations: 0.5916 MB / 1.259 GB, free: 1.312 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4922, allocations: 3.938 kB / 1.259 GB, free: 1.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001892/0.4941, allocations: 0.8409 MB / 1.26 GB, free: 468 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4942, allocations: 4 kB / 1.26 GB, free: 464 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4942, allocations: 0 / 1.26 GB, free: 464 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.4948, allocations: 84.86 kB / 1.26 GB, free: 376 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.4954, allocations: 155.8 kB / 1.26 GB, free: 220 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5911/1.087, allocations: 1.632 MB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/1.088, allocations: 90.52 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/1.088, allocations: 39.09 kB / 1.262 GB, free: 172.1 MB / 1.014 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.0005034/1.088, allocations: 260.2 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.089, allocations: 82.88 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/1.091, allocations: 1.048 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.091, allocations: 10.2 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.091, allocations: 0.875 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.091, allocations: 4.938 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/1.095, allocations: 1.898 MB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.095, allocations: 2.047 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/1.095, allocations: 146.4 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/1.096, allocations: 72.41 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/1.096, allocations: 28.55 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/1.098, allocations: 1.662 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.098, allocations: 0 / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/1.1, allocations: 0.9837 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/1.1, allocations: 269.1 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.1, allocations: 23.8 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/1.101, allocations: 61.58 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.101, allocations: 68.61 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/1.101, allocations: 41.31 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006721/1.102, allocations: 452.6 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.102, allocations: 0 / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009831/1.103, allocations: 310.4 kB / 1.269 GB, free: 168.9 MB / 1.014 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.001376/1.104, allocations: 0.6096 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002016/1.107, allocations: 0.8229 MB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.107, allocations: 0.6562 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.108, allocations: 0.5102 MB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.109, allocations: 289.2 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/1.113, allocations: 1.71 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/1.114, allocations: 1.021 MB / 1.274 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009507/1.115, allocations: 258.3 kB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/1.115, allocations: 107.3 kB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.115, allocations: 0 / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03052/1.146, allocations: 14.98 MB / 1.289 GB, free: 163.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches