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.001618/0.001618, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 195.8 kB / 16.79 MB, free: 6.809 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.458/2.458, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7684, allocations: 140.3 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006187/0.7746, allocations: 4.302 MB / 0.9538 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1766/0.9513, allocations: 148.2 MB / 1.099 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.9524, allocations: 19.88 kB / 1.099 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.953, allocations: 135 kB / 1.099 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.9548, allocations: 435.6 kB / 1.099 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.9567, allocations: 0.7122 MB / 1.1 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.958, allocations: 1.191 MB / 1.101 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008117/0.9589, allocations: 0.5864 MB / 1.102 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.9595, allocations: 402.3 kB / 1.102 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.96, allocations: 461.7 kB / 1.102 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.9602, allocations: 60 kB / 1.102 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009658/0.9611, allocations: 391.7 kB / 1.103 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.9614, allocations: 227.1 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.9619, allocations: 489 kB / 1.103 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.9631, allocations: 1.162 MB / 1.105 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9632, allocations: 3.938 kB / 1.105 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9632, allocations: 0 / 1.105 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.9632, allocations: 0 / 1.105 GB, free: 2.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.002539/0.9657, allocations: 1.403 MB / 1.106 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.9658, allocations: 12.03 kB / 1.106 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.9667, allocations: 183.4 kB / 1.106 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/0.9677, allocations: 0.7344 MB / 1.107 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.9678, allocations: 62 kB / 1.107 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.9679, allocations: 80 kB / 1.107 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.9694, allocations: 0.9106 MB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.9694, allocations: 0 / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.9695, allocations: 36 kB / 1.108 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.9695, allocations: 20 kB / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.9712, allocations: 1.1 MB / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.9749, allocations: 2.464 MB / 1.111 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.9765, allocations: 0.8522 MB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.977, allocations: 298.7 kB / 1.113 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.9771, allocations: 28.61 kB / 1.113 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009772/0.9781, allocations: 491.1 kB / 1.113 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.184e-06/0.9781, allocations: 0 / 1.113 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003085/0.9812, allocations: 1.17 MB / 1.114 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.9813, allocations: 196.6 kB / 1.114 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.9821, allocations: 0.6175 MB / 1.115 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.9822, allocations: 41.7 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.9825, allocations: 396.3 kB / 1.115 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.9827, allocations: 252.4 kB / 1.116 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.983, allocations: 162.5 kB / 1.116 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9831, allocations: 390.7 kB / 1.116 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.9837, allocations: 257.9 kB / 1.116 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.9843, allocations: 363 kB / 1.117 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.9853, allocations: 0.5916 MB / 1.117 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9853, allocations: 0 / 1.117 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001944/0.9873, allocations: 0.8332 MB / 1.118 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.9873, allocations: 9.719 kB / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.9873, allocations: 0 / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.988, allocations: 84.92 kB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.9886, allocations: 163.7 kB / 1.118 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.9907, allocations: 1.524 MB / 1.12 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.9916, allocations: 95.41 kB / 1.12 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.9916, allocations: 35.98 kB / 1.12 GB, free: 2.457 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.0005145/0.9922, allocations: 259.4 kB / 1.12 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.9924, allocations: 86.91 kB / 1.12 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.9947, allocations: 1.046 MB / 1.121 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.9947, allocations: 15.98 kB / 1.121 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.9947, allocations: 0 / 1.121 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.9947, allocations: 7.969 kB / 1.121 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.9979, allocations: 1.899 MB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9979, allocations: 0 / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.9985, allocations: 143.8 kB / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.9991, allocations: 92.64 kB / 1.123 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.9992, allocations: 27.98 kB / 1.123 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.001, allocations: 1.54 MB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.001, allocations: 0 / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/1.003, allocations: 0.9842 MB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/1.003, allocations: 267.8 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.004, allocations: 20 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/1.004, allocations: 60.78 kB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.004, allocations: 72.83 kB / 1.126 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/1.005, allocations: 35.97 kB / 1.126 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005929/1.005, allocations: 447 kB / 1.127 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.005, allocations: 4 kB / 1.127 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009587/1.006, allocations: 311.2 kB / 1.127 GB, free: 10.91 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.001464/1.008, allocations: 0.6047 MB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001725/1.009, allocations: 0.8197 MB / 1.129 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.009, allocations: 0 / 1.129 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009228/1.01, allocations: 0.5041 MB / 1.129 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.012, allocations: 264.3 kB / 1.129 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/1.016, allocations: 2.17 MB / 1.131 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/1.017, allocations: 1.012 MB / 1.132 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/1.017, allocations: 111.4 kB / 1.132 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of SimCode: time 9.32e-07/1.017, allocations: 3.938 kB / 1.132 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of Templates: time 0.02647/1.044, allocations: 18.07 MB / 1.15 GB, free: 3.508 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/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