Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001024/0.001024, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.007895/0.007895, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.971/2.971, allocations: 470.6 MB / 0.7442 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 9.031 kB / 0.9123 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005718/0.3422, allocations: 4.371 MB / 1.074 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1918/0.534, allocations: 146.7 MB / 1.217 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009534/0.535, allocations: 19.88 kB / 1.217 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007787/0.5358, allocations: 146.9 kB / 1.218 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.5379, allocations: 474.2 kB / 1.218 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.54, allocations: 0.7093 MB / 1.219 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.5419, allocations: 1.269 MB / 1.22 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.543, allocations: 0.5439 MB / 1.22 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007689/0.5437, allocations: 346.4 kB / 1.221 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/0.5445, allocations: 381.9 kB / 1.221 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.5447, allocations: 24 kB / 1.221 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.5457, allocations: 367.6 kB / 1.222 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.546, allocations: 183.1 kB / 1.222 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.5466, allocations: 466.9 kB / 1.222 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.5485, allocations: 1.472 MB / 1.224 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5485, allocations: 0 / 1.224 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5485, allocations: 0 / 1.224 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.5485, allocations: 0 / 1.224 GB, free: 13.35 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002487/0.551, allocations: 1.209 MB / 1.225 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.5511, allocations: 8.031 kB / 1.225 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009208/0.552, allocations: 195.4 kB / 1.225 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.5532, allocations: 0.7267 MB / 1.226 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.5533, allocations: 62 kB / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.5535, allocations: 83.94 kB / 1.226 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.5553, allocations: 0.9067 MB / 1.227 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5554, allocations: 11.88 kB / 1.227 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5555, allocations: 35.98 kB / 1.227 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.5555, allocations: 20 kB / 1.227 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.5575, allocations: 1.1 MB / 1.228 GB, free: 8.871 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.004667/0.5621, allocations: 2.713 MB / 1.23 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.5638, allocations: 0.8688 MB / 1.231 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.5644, allocations: 311.2 kB / 1.232 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.19e-05/0.5645, allocations: 24.62 kB / 1.232 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009549/0.5655, allocations: 0.503 MB / 1.232 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.975e-06/0.5655, allocations: 0 / 1.232 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003342/0.5688, allocations: 1.19 MB / 1.233 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.569, allocations: 196.6 kB / 1.234 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/0.5699, allocations: 0.6137 MB / 1.234 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.57, allocations: 45.7 kB / 1.234 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.5704, allocations: 396.3 kB / 1.235 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.5707, allocations: 260.2 kB / 1.235 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.5708, allocations: 69.67 kB / 1.235 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002828/0.5711, allocations: 386.7 kB / 1.235 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.5717, allocations: 265.9 kB / 1.235 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.5723, allocations: 367.1 kB / 1.236 GB, free: 440 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.5735, allocations: 0.6072 MB / 1.236 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5736, allocations: 4 kB / 1.236 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001936/0.5755, allocations: 0.8448 MB / 1.237 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5755, allocations: 4 kB / 1.237 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5755, allocations: 8.094 kB / 1.237 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.5762, allocations: 80.72 kB / 1.237 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.5768, allocations: 167.8 kB / 1.237 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.5792, allocations: 1.513 MB / 1.239 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.58, allocations: 109.8 kB / 1.239 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.5801, allocations: 39.97 kB / 1.239 GB, free: 12.89 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.0005342/0.5806, allocations: 273.4 kB / 1.239 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5808, allocations: 86.94 kB / 1.239 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.5833, allocations: 1.054 MB / 1.24 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5833, allocations: 11.98 kB / 1.24 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5833, allocations: 0 / 1.24 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5833, allocations: 3.984 kB / 1.24 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.5868, allocations: 1.918 MB / 1.242 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5869, allocations: 4 kB / 1.242 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.5875, allocations: 139.8 kB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.588, allocations: 88.72 kB / 1.243 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.5881, allocations: 23.98 kB / 1.243 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.5904, allocations: 1.563 MB / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5904, allocations: 0 / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.5925, allocations: 0.9882 MB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.593, allocations: 279.7 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5931, allocations: 20 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.5938, allocations: 79.92 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.594, allocations: 72.84 kB / 1.246 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.5941, allocations: 39.97 kB / 1.246 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006217/0.5947, allocations: 451 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5947, allocations: 0 / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009593/0.5957, allocations: 323.1 kB / 1.246 GB, free: 5.254 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.002155/0.5978, allocations: 0.602 MB / 1.247 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.5998, allocations: 0.8235 MB / 1.248 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5998, allocations: 0 / 1.248 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.6009, allocations: 0.5199 MB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6024, allocations: 270.8 kB / 1.248 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.6066, allocations: 2.048 MB / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/0.6076, allocations: 1.012 MB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.5868/1.194, allocations: 259.4 kB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.195, allocations: 100.4 kB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.195, allocations: 0.6562 kB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03072/1.226, allocations: 14.23 MB / 1.266 GB, free: 181.4 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches