Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_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_latest_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.001312/0.001312, 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.001386/0.001386, allocations: 190.8 kB / 16.14 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.03 kB / 0.8984 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006069/0.3066, allocations: 4.798 MB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.4685, allocations: 148.3 MB / 1.202 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008382/0.4694, allocations: 19.88 kB / 1.202 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.47, allocations: 146.9 kB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.4716, allocations: 463.6 kB / 1.202 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.4734, allocations: 0.7175 MB / 1.203 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.4746, allocations: 1.265 MB / 1.204 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.4754, allocations: 0.557 MB / 1.205 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.476, allocations: 410.3 kB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.4764, allocations: 469.8 kB / 1.206 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.4766, allocations: 60 kB / 1.206 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007905/0.4774, allocations: 399.6 kB / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.4776, allocations: 227.1 kB / 1.206 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.4781, allocations: 0.4894 MB / 1.207 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.4795, allocations: 1.519 MB / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4796, allocations: 0 / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4796, allocations: 0 / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.4796, allocations: 0 / 1.208 GB, free: 8.469 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00247/0.4821, allocations: 1.403 MB / 1.209 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4821, allocations: 12.03 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/0.483, allocations: 187.4 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/0.484, allocations: 0.7305 MB / 1.21 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.4841, allocations: 58 kB / 1.21 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.4842, allocations: 84 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.4857, allocations: 0.9143 MB / 1.211 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4857, allocations: 7.938 kB / 1.211 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.717e-05/0.4858, allocations: 35.98 kB / 1.211 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.4859, allocations: 24 kB / 1.211 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.4875, allocations: 1.093 MB / 1.213 GB, free: 3.801 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.003837/0.4914, allocations: 2.685 MB / 1.215 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.4929, allocations: 0.8649 MB / 1.216 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/0.4934, allocations: 294.8 kB / 1.216 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-05/0.4935, allocations: 32.53 kB / 1.216 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/0.4945, allocations: 495 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 3.126e-06/0.4945, allocations: 0 / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.00318/0.4977, allocations: 1.178 MB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.4978, allocations: 192.6 kB / 1.218 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.4986, allocations: 0.6214 MB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.4987, allocations: 41.7 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.499, allocations: 392.4 kB / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.4992, allocations: 260.3 kB / 1.219 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.4995, allocations: 162.5 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4996, allocations: 386.7 kB / 1.22 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.5001, allocations: 265.8 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.5007, allocations: 359 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5018, allocations: 0.6033 MB / 1.221 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5019, allocations: 0 / 1.221 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00197/0.5038, allocations: 0.8331 MB / 1.222 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5039, allocations: 8 kB / 1.222 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5039, allocations: 8.078 kB / 1.222 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/0.5045, allocations: 76.78 kB / 1.222 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.5052, allocations: 171.7 kB / 1.222 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.5074, allocations: 1.515 MB / 1.224 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.5082, allocations: 95.45 kB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.5083, allocations: 43.91 kB / 1.224 GB, free: 7.832 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.000457/0.5087, allocations: 265.5 kB / 1.224 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.5089, allocations: 86.94 kB / 1.224 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.5112, allocations: 1.042 MB / 1.225 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5113, allocations: 12 kB / 1.225 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5113, allocations: 0 / 1.225 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5113, allocations: 7.984 kB / 1.225 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.5143, allocations: 1.907 MB / 1.227 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5144, allocations: 0 / 1.227 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.5149, allocations: 143.7 kB / 1.227 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005343/0.5155, allocations: 88.7 kB / 1.227 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.5155, allocations: 23.98 kB / 1.227 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.5174, allocations: 1.54 MB / 1.229 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5174, allocations: 4.062 kB / 1.229 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.5195, allocations: 0.9804 MB / 1.23 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.5199, allocations: 271.7 kB / 1.23 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.52, allocations: 20 kB / 1.23 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/0.5207, allocations: 59.94 kB / 1.23 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.5208, allocations: 76.83 kB / 1.23 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.5209, allocations: 35.98 kB / 1.23 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005296/0.5214, allocations: 451 kB / 1.231 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5214, allocations: 0 / 1.231 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008751/0.5223, allocations: 327.1 kB / 1.231 GB, free: 272 kB / 0.9825 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.001321/0.5236, allocations: 0.5956 MB / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.5253, allocations: 0.8195 MB / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5253, allocations: 0 / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/0.5262, allocations: 0.516 MB / 1.233 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5274, allocations: 272.2 kB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.5304, allocations: 2.023 MB / 1.235 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.5309, allocations: 1.017 MB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008359/0.5318, allocations: 254.6 kB / 1.236 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.532, allocations: 99.39 kB / 1.236 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.532, allocations: 4 kB / 1.236 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.526/1.058, allocations: 14.3 MB / 1.25 GB, free: 190.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches