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.00107/0.00107, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001176/0.001176, allocations: 200.5 kB / 16.26 MB, free: 6.625 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.414/2.414, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7341, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005733/0.7398, allocations: 4.292 MB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.9109, allocations: 148.3 MB / 1.098 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.912, allocations: 15.88 kB / 1.098 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007952/0.9128, allocations: 135 kB / 1.098 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.9148, allocations: 449.5 kB / 1.099 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.9169, allocations: 0.7436 MB / 1.099 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.9183, allocations: 1.277 MB / 1.101 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008222/0.9191, allocations: 0.5983 MB / 1.101 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.9197, allocations: 474.3 kB / 1.102 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004951/0.9202, allocations: 489.8 kB / 1.102 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.9203, allocations: 112 kB / 1.102 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.9212, allocations: 455.7 kB / 1.103 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.9214, allocations: 299 kB / 1.103 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.9218, allocations: 0.5324 MB / 1.104 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.9234, allocations: 1.546 MB / 1.105 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9234, allocations: 0 / 1.105 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9234, allocations: 0 / 1.105 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.9234, allocations: 0 / 1.105 GB, free: 1.781 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.002357/0.9258, allocations: 1.387 MB / 1.106 GB, free: 352 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9258, allocations: 12.03 kB / 1.106 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.9267, allocations: 183.4 kB / 1.107 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.9277, allocations: 0.7383 MB / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.9277, allocations: 62 kB / 1.107 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.9279, allocations: 76 kB / 1.107 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.9294, allocations: 0.9066 MB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.9294, allocations: 4 kB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.9295, allocations: 39.98 kB / 1.108 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.9295, allocations: 20 kB / 1.108 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.9312, allocations: 1.097 MB / 1.109 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.9348, allocations: 2.464 MB / 1.112 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.9363, allocations: 0.8616 MB / 1.113 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.9368, allocations: 303.6 kB / 1.113 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.044e-05/0.9369, allocations: 28.59 kB / 1.113 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009237/0.9378, allocations: 495.1 kB / 1.113 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.9378, allocations: 0 / 1.113 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.00303/0.9409, allocations: 1.17 MB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/0.941, allocations: 196.6 kB / 1.115 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.9417, allocations: 0.6175 MB / 1.115 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.9418, allocations: 41.7 kB / 1.115 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.9421, allocations: 392.3 kB / 1.116 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.9423, allocations: 252.4 kB / 1.116 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.9425, allocations: 162.5 kB / 1.116 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.9427, allocations: 390.7 kB / 1.117 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.9432, allocations: 261.8 kB / 1.117 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.9438, allocations: 359 kB / 1.117 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.9449, allocations: 0.5955 MB / 1.118 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9449, allocations: 0 / 1.118 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001899/0.9468, allocations: 0.837 MB / 1.119 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.9468, allocations: 8 kB / 1.119 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.9469, allocations: 3.984 kB / 1.119 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.9475, allocations: 80.88 kB / 1.119 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.9481, allocations: 151.8 kB / 1.119 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.9503, allocations: 1.642 MB / 1.12 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.951, allocations: 89.55 kB / 1.121 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.9511, allocations: 44.03 kB / 1.121 GB, free: 1.34 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 (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.0004166/0.9515, allocations: 267.4 kB / 1.121 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.9517, allocations: 82.97 kB / 1.121 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.954, allocations: 1.042 MB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.954, allocations: 16 kB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.954, allocations: 0 / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.9541, allocations: 7.922 kB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.9571, allocations: 1.903 MB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.9572, allocations: 0 / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.9577, allocations: 143.8 kB / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.9582, allocations: 76.78 kB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.9583, allocations: 23.98 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.9601, allocations: 1.662 MB / 1.126 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9601, allocations: 4.031 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.9621, allocations: 0.9726 MB / 1.127 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.9625, allocations: 267.8 kB / 1.127 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.9626, allocations: 24 kB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.9633, allocations: 63.92 kB / 1.127 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.9634, allocations: 64.91 kB / 1.127 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.9635, allocations: 39.97 kB / 1.127 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005368/0.964, allocations: 451 kB / 1.127 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.964, allocations: 0 / 1.127 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008817/0.9649, allocations: 311.2 kB / 1.128 GB, free: 9.688 MB / 0.8887 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.00139/0.9663, allocations: 0.5956 MB / 1.128 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002501/0.9688, allocations: 1.019 MB / 1.129 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9689, allocations: 0 / 1.129 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009904/0.9699, allocations: 0.508 MB / 1.13 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.9713, allocations: 299.9 kB / 1.13 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.9756, allocations: 2.135 MB / 1.132 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.9763, allocations: 1.019 MB / 1.133 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009048/0.9772, allocations: 262.4 kB / 1.133 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.9775, allocations: 103.4 kB / 1.134 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of SimCode: time 1.413e-06/0.9775, allocations: 0 / 1.134 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of Templates: time 0.02634/1.004, allocations: 14.45 MB / 1.148 GB, free: 5.586 MB / 0.9044 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