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.001153/0.001153, allocations: 102.1 kB / 16.35 MB, free: 5.828 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.00111/0.00111, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.171/2.171, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.86 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2728, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006549/0.2794, allocations: 4.295 MB / 0.9553 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6743/0.9537, allocations: 150.5 MB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/0.9546, allocations: 16.84 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.9551, allocations: 167.6 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.9568, allocations: 0.499 MB / 1.103 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.959, allocations: 0.8218 MB / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.9608, allocations: 1.286 MB / 1.105 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.9618, allocations: 0.6129 MB / 1.106 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008637/0.9627, allocations: 464.8 kB / 1.106 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.9634, allocations: 483.2 kB / 1.107 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.9636, allocations: 113.8 kB / 1.107 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.9648, allocations: 486.1 kB / 1.107 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.9651, allocations: 295.2 kB / 1.107 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.9657, allocations: 0.53 MB / 1.108 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.9683, allocations: 1.585 MB / 1.109 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.9684, allocations: 0 / 1.109 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.466e-06/0.9684, allocations: 1.719 kB / 1.109 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.9684, allocations: 0.7812 kB / 1.109 GB, free: 4.672 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.0032/0.9716, allocations: 1.397 MB / 1.111 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9717, allocations: 9.75 kB / 1.111 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.9726, allocations: 185.1 kB / 1.111 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.9739, allocations: 0.7467 MB / 1.112 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.974, allocations: 62.72 kB / 1.112 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.9741, allocations: 78.62 kB / 1.112 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.9757, allocations: 0.9066 MB / 1.113 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.9757, allocations: 1.406 kB / 1.113 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-05/0.9758, allocations: 36.08 kB / 1.113 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.9759, allocations: 23.5 kB / 1.113 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.9778, allocations: 1.093 MB / 1.114 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/0.9819, allocations: 2.439 MB / 1.116 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9834, allocations: 0.8608 MB / 1.117 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.9839, allocations: 298.7 kB / 1.117 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.334e-05/0.984, allocations: 26.08 kB / 1.117 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007837/0.9848, allocations: 498.1 kB / 1.118 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/0.9848, allocations: 0 / 1.118 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003175/0.988, allocations: 1.171 MB / 1.119 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.9881, allocations: 193.1 kB / 1.119 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/0.989, allocations: 0.6243 MB / 1.12 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.989, allocations: 40.55 kB / 1.12 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.9893, allocations: 390 kB / 1.12 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.9895, allocations: 253.3 kB / 1.12 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.9898, allocations: 162 kB / 1.121 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.99, allocations: 392.9 kB / 1.121 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.9905, allocations: 265.1 kB / 1.121 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.9911, allocations: 354 kB / 1.122 GB, free: 17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.9921, allocations: 0.5975 MB / 1.122 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9921, allocations: 1.219 kB / 1.122 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00212/0.9943, allocations: 0.8312 MB / 1.123 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.9943, allocations: 8.953 kB / 1.123 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.9943, allocations: 0.875 kB / 1.123 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.9949, allocations: 90.95 kB / 1.123 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.9956, allocations: 153.2 kB / 1.123 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.9978, allocations: 1.631 MB / 1.125 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/0.9986, allocations: 93.94 kB / 1.125 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.9987, allocations: 35.8 kB / 1.125 GB, free: 15.38 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.0005339/0.9992, allocations: 267.9 kB / 1.125 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.9994, allocations: 88.91 kB / 1.125 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/1.002, allocations: 1.04 MB / 1.126 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.002, allocations: 10.62 kB / 1.126 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.002, allocations: 0 / 1.126 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.002, allocations: 11.08 kB / 1.126 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/1.005, allocations: 1.907 MB / 1.128 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.005, allocations: 0 / 1.128 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/1.006, allocations: 147.2 kB / 1.128 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/1.006, allocations: 76.22 kB / 1.128 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/1.006, allocations: 28.45 kB / 1.128 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/1.008, allocations: 1.653 MB / 1.13 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.008, allocations: 3.938 kB / 1.13 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/1.01, allocations: 0.9824 MB / 1.131 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/1.011, allocations: 272.7 kB / 1.131 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/1.011, allocations: 18.75 kB / 1.131 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/1.011, allocations: 65.09 kB / 1.131 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.012, allocations: 70 kB / 1.131 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.813e-05/1.012, allocations: 34.42 kB / 1.131 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005848/1.012, allocations: 451.7 kB / 1.132 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.012, allocations: 1.203 kB / 1.132 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001035/1.013, allocations: 306.2 kB / 1.132 GB, free: 12.77 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 (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.001404/1.015, allocations: 0.6091 MB / 1.133 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001726/1.016, allocations: 0.8142 MB / 1.134 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/1.016, allocations: 1.125 kB / 1.134 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008893/1.017, allocations: 0.5206 MB / 1.134 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.019, allocations: 283.6 kB / 1.134 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/1.022, allocations: 1.718 MB / 1.136 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/1.023, allocations: 1.013 MB / 1.137 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008154/1.024, allocations: 259.9 kB / 1.137 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.024, allocations: 106.6 kB / 1.137 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/1.024, allocations: 0 / 1.137 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.02764/1.052, allocations: 14.54 MB / 1.152 GB, free: 6.891 MB / 0.8731 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 -s gbode -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/jenkins1/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