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.001159/0.001159, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001133/0.001133, allocations: 177.3 kB / 15.94 MB, free: 220 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.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.336/2.336, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 11.98 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6198, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003551/0.6234, allocations: 3.596 MB / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.7754, allocations: 127.5 MB / 1.082 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.7762, allocations: 11.94 kB / 1.082 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.7767, allocations: 75.34 kB / 1.082 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.7783, allocations: 497.6 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.7799, allocations: 0.6155 MB / 1.083 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001172/0.7811, allocations: 0.7949 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006066/0.7817, allocations: 467.2 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.7822, allocations: 330.6 kB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.7825, allocations: 330.3 kB / 1.085 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.7826, allocations: 27.94 kB / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006695/0.7833, allocations: 303.7 kB / 1.085 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.7835, allocations: 179.2 kB / 1.085 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.7837, allocations: 193.1 kB / 1.085 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.7847, allocations: 1.142 MB / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.7847, allocations: 0 / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7847, allocations: 0 / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.7847, allocations: 4 kB / 1.086 GB, free: 7.773 MB / 0.8419 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.002019/0.7867, allocations: 1.208 MB / 1.088 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.7868, allocations: 8.031 kB / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/0.7876, allocations: 190.6 kB / 1.088 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.7886, allocations: 0.7069 MB / 1.088 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.7887, allocations: 66 kB / 1.088 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.7888, allocations: 76 kB / 1.089 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7901, allocations: 0.895 MB / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.7902, allocations: 0 / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.7903, allocations: 43.94 kB / 1.089 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.7903, allocations: 23.98 kB / 1.089 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.792, allocations: 1.093 MB / 1.091 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.7957, allocations: 2.502 MB / 1.093 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.7972, allocations: 0.873 MB / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.7973, allocations: 24.61 kB / 1.094 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008308/0.7982, allocations: 491.3 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 2.194e-06/0.7982, allocations: 4 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.002814/0.801, allocations: 1.183 MB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.8011, allocations: 192.6 kB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.8018, allocations: 0.6098 MB / 1.096 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.8019, allocations: 41.7 kB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.8021, allocations: 392.3 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.8023, allocations: 256.3 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.8024, allocations: 20 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8025, allocations: 382.8 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.803, allocations: 241.9 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.8035, allocations: 350.6 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.804, allocations: 286.9 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8041, allocations: 3.953 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001675/0.8057, allocations: 0.794 MB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.8058, allocations: 8 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.8058, allocations: 0 / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/0.8064, allocations: 84.86 kB / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.8071, allocations: 147.8 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.8092, allocations: 1.528 MB / 1.101 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/0.8099, allocations: 99.39 kB / 1.101 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.81, allocations: 35.92 kB / 1.101 GB, free: 8.453 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004674/0.8105, allocations: 257.7 kB / 1.101 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.8106, allocations: 75.06 kB / 1.101 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.8128, allocations: 1.065 MB / 1.102 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.8128, allocations: 15.95 kB / 1.102 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.8129, allocations: 3.938 kB / 1.102 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.8129, allocations: 3.984 kB / 1.102 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.8159, allocations: 1.914 MB / 1.104 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.8159, allocations: 0 / 1.104 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/0.8165, allocations: 143.8 kB / 1.104 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/0.817, allocations: 88.75 kB / 1.104 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/0.8171, allocations: 27.97 kB / 1.104 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.8188, allocations: 1.552 MB / 1.106 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8188, allocations: 0 / 1.106 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.8207, allocations: 0.9882 MB / 1.107 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.8211, allocations: 287.7 kB / 1.107 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.8212, allocations: 20 kB / 1.107 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.8219, allocations: 91.31 kB / 1.107 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.822, allocations: 64.91 kB / 1.107 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.8221, allocations: 39.97 kB / 1.107 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000546/0.8226, allocations: 443 kB / 1.108 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8227, allocations: 4 kB / 1.108 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000847/0.8235, allocations: 295.3 kB / 1.108 GB, free: 0.8594 MB / 0.8575 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.001251/0.8248, allocations: 0.6075 MB / 1.109 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.8263, allocations: 0.7922 MB / 1.109 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8263, allocations: 0 / 1.109 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.8272, allocations: 0.5042 MB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.8283, allocations: 234.6 kB / 1.11 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.8321, allocations: 2.135 MB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.8327, allocations: 1.039 MB / 1.113 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007959/0.8335, allocations: 262.5 kB / 1.113 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.8337, allocations: 103.4 kB / 1.113 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/0.8337, allocations: 3.938 kB / 1.113 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.02167/0.8554, allocations: 13.45 MB / 1.127 GB, free: 14 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","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches