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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001094/0.001094, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001402/0.001402, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 8 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8211/0.8215, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00443/0.826, allocations: 3.682 MB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1654/0.9915, allocations: 136.7 MB / 1.092 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.9925, allocations: 15.94 kB / 1.092 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000746/0.9933, allocations: 134.9 kB / 1.092 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.9952, allocations: 417.9 kB / 1.092 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.9974, allocations: 0.6282 MB / 1.093 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.9991, allocations: 1.098 MB / 1.094 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009971/1, allocations: 475.1 kB / 1.094 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/1.001, allocations: 326.5 kB / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/1.002, allocations: 346.2 kB / 1.095 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/1.002, allocations: 28 kB / 1.095 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/1.003, allocations: 335.6 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/1.003, allocations: 183.2 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/1.003, allocations: 189.2 kB / 1.096 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/1.005, allocations: 1.138 MB / 1.097 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.005, allocations: 0 / 1.097 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.545e-06/1.005, allocations: 0 / 1.097 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.273e-05/1.005, allocations: 0 / 1.097 GB, free: 13.43 MB / 0.8575 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.002909/1.008, allocations: 1.2 MB / 1.098 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.008, allocations: 8.031 kB / 1.098 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.009, allocations: 194.5 kB / 1.098 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.011, allocations: 0.7108 MB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/1.011, allocations: 58 kB / 1.099 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.011, allocations: 80 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/1.013, allocations: 0.8989 MB / 1.1 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.013, allocations: 0 / 1.1 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/1.013, allocations: 39.95 kB / 1.1 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.013, allocations: 23.94 kB / 1.1 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/1.015, allocations: 1.104 MB / 1.101 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/1.02, allocations: 2.493 MB / 1.103 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/1.021, allocations: 0.8629 MB / 1.104 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/1.022, allocations: 298.6 kB / 1.104 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.97e-05/1.022, allocations: 32.78 kB / 1.105 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009741/1.023, allocations: 495.1 kB / 1.105 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 3.095e-06/1.023, allocations: 0 / 1.105 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.003017/1.026, allocations: 1.182 MB / 1.106 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.026, allocations: 188.6 kB / 1.106 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/1.027, allocations: 0.6136 MB / 1.107 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.856e-05/1.027, allocations: 41.7 kB / 1.107 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/1.027, allocations: 396.2 kB / 1.107 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/1.028, allocations: 252.4 kB / 1.108 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/1.028, allocations: 16 kB / 1.108 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.028, allocations: 382.8 kB / 1.108 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/1.028, allocations: 269.9 kB / 1.108 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/1.029, allocations: 355.1 kB / 1.109 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/1.03, allocations: 310.8 kB / 1.109 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.03, allocations: 0 / 1.109 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001897/1.032, allocations: 0.8371 MB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.032, allocations: 4 kB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.032, allocations: 4.094 kB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/1.032, allocations: 88.7 kB / 1.11 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/1.033, allocations: 159.8 kB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/1.035, allocations: 1.516 MB / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/1.036, allocations: 103.4 kB / 1.111 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/1.036, allocations: 39.97 kB / 1.112 GB, free: 13.73 MB / 0.8731 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005959/1.037, allocations: 267.4 kB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/1.037, allocations: 82.97 kB / 1.112 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/1.039, allocations: 1.061 MB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.039, allocations: 11.94 kB / 1.113 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.039, allocations: 7.938 kB / 1.113 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/1.039, allocations: 3.984 kB / 1.113 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/1.043, allocations: 1.895 MB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.043, allocations: 4 kB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/1.043, allocations: 143.8 kB / 1.115 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/1.044, allocations: 84.77 kB / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.044, allocations: 23.98 kB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/1.046, allocations: 1.548 MB / 1.117 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.046, allocations: 0 / 1.117 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.048, allocations: 0.9883 MB / 1.117 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/1.049, allocations: 283.7 kB / 1.118 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.049, allocations: 23.94 kB / 1.118 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/1.05, allocations: 81.86 kB / 1.118 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.05, allocations: 68.89 kB / 1.118 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/1.05, allocations: 39.97 kB / 1.118 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007408/1.051, allocations: 443 kB / 1.118 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.051, allocations: 4 kB / 1.118 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001207/1.052, allocations: 307.2 kB / 1.119 GB, free: 6.141 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/1.054, allocations: 0.6081 MB / 1.119 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001861/1.055, allocations: 0.8158 MB / 1.12 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.056, allocations: 4 kB / 1.12 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009847/1.057, allocations: 0.5158 MB / 1.121 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.058, allocations: 250 kB / 1.121 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/1.063, allocations: 2.136 MB / 1.123 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/1.064, allocations: 1.016 MB / 1.124 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001158/1.065, allocations: 262.4 kB / 1.124 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/1.065, allocations: 107.4 kB / 1.124 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of SimCode: time 1.522e-06/1.065, allocations: 0 / 1.124 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of Templates: time 0.02574/1.091, allocations: 13.42 MB / 1.137 GB, free: 3.277 MB / 0.8887 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